MCPcopy Create free account
hub / github.com/apache/fory / utf8Write

Method utf8Write

javascript/packages/core/lib/platformBuffer.ts:80–82  ·  view source on GitHub ↗
(string: string, offset: number)

Source from the content-addressed store, hash-verified

78 }
79
80 private utf8Write(string: string, offset: number) {
81 utf8Encoder.encodeInto(string, this.subarray(offset));
82 }
83
84 private latin1Slice(start: number, end: number) {
85 if (end - start < 1) {

Callers 2

writeMethod · 0.95
startFunction · 0.95

Calls 1

subarrayMethod · 0.45

Tested by

no test coverage detected