package
0.0.0-20241102221056-eb2fa4d51d96
Repository: https://github.com/g0rbe/gmod.git
Documentation: pkg.go.dev
# Functions
BitwiseCheck checks whether y bits is set of x.
BitwiseClear unsets y bits of x.
BitwiseSet sets y bits of x.
BitwiseToggle toggles y bits of x.
IsDigit returns whether c is a number character ascii code.
IsHexa returns whether c is a hexadecimal (0-9 a-f A-F) character ascii code.
IsLowerLetter returns whether c is a lower case letter (a-z) character ascii code.
IsUpperLetter returns whether c is an upper case letter (A-Z) character ascii code.
No description provided by the author
NewEmpty creates a Buffer with a zero length byte slice.
ReadAll reads from r until an error or EOF and returns a Buffer from the data it read.
ReadBytes removes the first n bytes from b and returns it.
ReadInt removes the first bytes (depends on bitSize) from b and returns it as an int.
ReadInt16 removes the first 2 bytes from b and returns it as an int16.
ReadInt24 removes the first 3 bytes from b and returns it as a int32.
ReadInt32 removes the first 4 bytes from b and returns it as an int32.
ReadInt64 removes the first 8 bytes from b and returns it as an int64.
ReadInt8 removes the first byte from b and returns it as an int8.
ReadReaderBytes reads n byte from in.
ReadReaderUint16 reads bytes from in and returns it as an uint16.
ReadReaderUint24 reads bytes from in and returns it as an uint32.
ReadReaderUint32 reads bytes from in and returns it as an uint32.
ReadReaderUint8 reads a byte from in and returns is as an uint8.
ReadUint16 removes the first 2 bytes from b and returns it as an uint16.
ReadUint24 removes the first 3 bytes from b and returns it as a uint32.
ReadUint32 removes the first 4 bytes from b and returns it as an uint32.
ReadUint64 removes the first 8 bytes from b and returns it as an uint64.
ReadUint8 removes the first byte from b and returns it as an uint8.
Skip removes the first n bytes from b.
ReadReaderSkip skips n bytes in in.
WriteBytes appends bytes at the end of b.
WriteInt append v at the end of b with size bitSize.
WriteInt16 appends v at the end of b.
WriteInt24 appends v at the end of b.
WriteInt32 appends v at the end of b.
WriteInt64 appends v at the end of b.
WriteInt8 appends v at the end of b.
WriteUint16 appends v at the end of b.
WriteUint24 appends v at the end of b.
WriteUint32 appends v at the end of b.
WriteUint64 appends v at the end of b.
WriteUint8 appends v at the end of b.
WriteWriterBytes appends v at the end of in.
WriteWriterUint16 appends v at the end of in.
WriteWriterUint24 appends v at the end of in.
WriteWriterUint32 appends v at the end of in.
WriteWriterUint8 appends v at the end of in.
# Constants
IntSize is the size in bits of an int or uint value.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author