MCPcopy Create free account
hub / github.com/segmentio/encoding / WriteInt16

Method WriteInt16

thrift/compact.go:251–253  ·  view source on GitHub ↗
(v int16)

Source from the content-addressed store, hash-verified

249}
250
251func (w *compactWriter) WriteInt16(v int16) error {
252 return w.writeVarint(int64(v))
253}
254
255func (w *compactWriter) WriteInt32(v int32) error {
256 return w.writeVarint(int64(v))

Callers 1

WriteFieldMethod · 0.95

Calls 1

writeVarintMethod · 0.95

Tested by

no test coverage detected