Package Usage: go: github.com/getlantern/framed
Package framed provides an implementations of io.Writer and io.Reader that write
and read whole frames only.
Frames are length-prefixed. The first two bytes are an unsigned 16 bit int
stored in little-endian byte order indicating the length of the content. The
remaining bytes are the actual content of the frame.
The use of a uint16 means that the maximum possible frame size (MaxFrameSize)
is 65535.
The frame size can be increased to 4294967295 bytes by calling EnableBigFrames()
on the corresponding Reader and Writer.
1 version
Latest release: about 6 years ago
3 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/getlantern/framed