Documentation ¶
Index ¶
Constants ¶
View Source
const Len = 4
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
type T struct {
Val uint32
}
func New ¶
New creates a new value with the underlying type uint32, that can be written to and read from a binary byte buffer.
The reason why it is coded as generic with only one listed type is because it makes it possible to later on add another type, which is just a wrapper around uint32, that enables the use of other methods on it. This is because it became clear this was needed for the kinder.T type as well
Click to show internal directories.
Click to hide internal directories.