Documentation
¶
Index ¶
- func AnalyzeReader(r io.Reader) (*packet.Packet, []byte, error)
- func DecodePayload(r io.Reader, length int) ([]*bytes.Reader, error)
- func EncodePayloadLength(w io.Writer, packet packet.Packet, data []byte, supportsBinary bool) (int, error)
- func PrepareWriter(w io.Writer, packetsHaveBinary bool, supportsBinary bool) io.WriteCloser
- func WriteHeader(w io.Writer, packet packet.Packet, supportsBinary bool) error
- type FakeWriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePayloadLength ¶
func PrepareWriter ¶
Types ¶
type FakeWriteCloser ¶
func (*FakeWriteCloser) Close ¶
func (fwc *FakeWriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.