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

Method DecodeByte

thrift/binary.go:2157–2159  ·  view source on GitHub ↗

DecodeByte decodes a byte value.

(b []byte)

Source from the content-addressed store, hash-verified

2155
2156// DecodeByte decodes a byte value.
2157func (BinaryEncoding) DecodeByte(b []byte) byte {
2158 return byte(b[0])
2159}
2160
2161// DecodeInt16 decodes a int16 value.
2162func (BinaryEncoding) DecodeInt16(b []byte) int16 {

Callers 2

byteMethod · 0.45
intMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected