MCPcopy Create free account
hub / github.com/apache/thrift / ReadByte

Method ReadByte

lib/go/thrift/json_protocol.go:359–362  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

357}
358
359func (p *TJSONProtocol) ReadByte(ctx context.Context) (int8, error) {
360 v, err := p.ReadI64(ctx)
361 return int8(v), err
362}
363
364func (p *TJSONProtocol) ReadI16(ctx context.Context) (int16, error) {
365 v, err := p.ReadI64(ctx)

Callers 2

TestReadJSONProtocolByteFunction · 0.95
ReadMessageBeginMethod · 0.95

Calls 1

ReadI64Method · 0.95

Tested by 1

TestReadJSONProtocolByteFunction · 0.76