import { dataViewToString } from '../../../utils/dataViewToString.js';
export function readUTF8String(dataView, offset) {
    const length = dataView.byteLength - (offset - dataView.byteOffset);
    return (length > 0) ? dataViewToString(new DataView(dataView.buffer, offset, length)) : '';
}
;
//# sourceMappingURL=readUTF8String.js.map