Change write16Bytes and read16Bytes to be more generic and depend on the MINIBUFFER constant