MCPcopy Create free account
hub / github.com/cloudwego/dynamicgo / EncodeByte

Method EncodeByte

thrift/binary.go:2110–2112  ·  view source on GitHub ↗

EncodeByte encodes a byte value.

(b []byte, v byte)

Source from the content-addressed store, hash-verified

2108
2109// EncodeByte encodes a byte value.
2110func (BinaryEncoding) EncodeByte(b []byte, v byte) {
2111 b[0] = byte(v)
2112}
2113
2114// EncodeInt16 encodes a int16 value.
2115func (BinaryEncoding) EncodeInt16(b []byte, v int16) {

Callers 3

EncodeEmptyMethod · 0.95
NewNodeByteFunction · 0.45
ToRawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected