MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Ubyte

Method Ubyte

protocol/net/io/encoding/writer.go:35–39  ·  view source on GitHub ↗
(i uint8)

Source from the content-addressed store, hash-verified

33 return w.Ubyte(uint8(i))
34}
35func (w Writer) Ubyte(i uint8) error {
36 _, err := w.Write([]byte{i})
37
38 return err
39}
40
41func (w Writer) Short(i int16) error {
42 return w.Ushort(uint16(i))

Callers 6

BoolMethod · 0.95
ByteMethod · 0.95
VarIntMethod · 0.95
VarLongMethod · 0.95
FixedBitSetMethod · 0.95
EncodeBufMethod · 0.95

Calls 1

WriteMethod · 0.95

Tested by

no test coverage detected