MCPcopy Create free account
hub / github.com/Tencent/libpag / writeUint16

Method writeUint16

src/codec/utils/EncodeStream.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void EncodeStream::writeUint16(uint16_t value) {
77 if (checkCapacity(2)) {
78 dataView.setUint16(_position, value);
79 positionChanged(2);
80 }
81}
82
83void EncodeStream::writeInt32(int32_t value) {
84 if (checkCapacity(4)) {

Callers 3

WriteGradientColorFunction · 0.80
WriteTypeAndLengthFunction · 0.80
WriteEndTagFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected