MCPcopy Create free account
hub / github.com/tinylib/msgp / WriteInt16

Method WriteInt16

msgp/write.go:410–410  ·  view source on GitHub ↗

WriteInt16 writes an int16 to the writer

(i int16)

Source from the content-addressed store, hash-verified

408
409// WriteInt16 writes an int16 to the writer
410func (mw *Writer) WriteInt16(i int16) error { return mw.WriteInt64(int64(i)) }
411
412// WriteInt32 writes an int32 to the writer
413func (mw *Writer) WriteInt32(i int32) error { return mw.WriteInt64(int64(i)) }

Callers 5

WriteIntfMethod · 0.95
EncodeMsgMethod · 0.80
EncodeMsgMethod · 0.80

Calls 1

WriteInt64Method · 0.95