Appends byte array to the buffer.
external fun appendByteArray( ByteArray data, { Int fromIndex = 0, Int toIndex = 16, });