Rename functions to better match their purpose
Rename functions to better match their purpose

Rename ensureSpace() to prepareWrite(), write() to commitWrite(), read()
to commitRead() and appendUtf16data() to appendUtf16Data().

paroga/cbor-js,paroga/cbor-js