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

Method DecodeInt16

thrift/binary.go:2162–2164  ·  view source on GitHub ↗

DecodeInt16 decodes a int16 value.

(b []byte)

Source from the content-addressed store, hash-verified

2160
2161// DecodeInt16 decodes a int16 value.
2162func (BinaryEncoding) DecodeInt16(b []byte) int16 {
2163 return int16(binary.BigEndian.Uint16(b))
2164}
2165
2166// DecodeInt32 decodes a int32 value.
2167func (BinaryEncoding) DecodeInt32(b []byte) int32 {

Callers 1

intMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected