package
0.0.0-20231206062002-1ce2f004b7d9
Repository: https://github.com/codingeasygo/util.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewBaseReader will create new Reader by raw reader and buffer size.
NewBaseWriter will return new BaseWriter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRawReadWriteCloser will return new ReadWriteCloser.
NewRawReadWriter will return new ReadWriteCloser.
NewRawWrapReader will create new Reader by raw reader and buffer size.
NewRawWrapWriter will return new RawWrapWriter.
NewReader will create new Reader by raw reader and buffer size.
NewReadWriteCloser will return new ReadWriteCloser.
NewReadWriter will return new ReadWriteCloser.
NewWriter will return new BaseWriter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
DefaultLengthFieldLength is default frame header length.
# Variables
ErrFrameTooLarge is the error when the frame head lenght > buffer length.
# Structs
No description provided by the author
No description provided by the author
BaseReader imple read raw connection by frame mode.
BaseReadWriteCloser is frame reader/writer combiner.
BaseWriter implment the frame Writer.
No description provided by the author
No description provided by the author
No description provided by the author
RawWrapReader imple read raw connection by frame mode.
RawWrapReadWriteCloser is frame reader/writer combiner.
RawWrapWriter implment the frame Writer.
# Interfaces
No description provided by the author
Reader is interface for read the raw io as frame mode.
ReadWriteCloser is interface for read/write the raw io as frame mode.
ReadWriter is interface for read/write the raw io as frame mode.
Writer is interface for write the raw io as frame mode.