Documentation ¶
Index ¶
- Constants
- func ConvertBool(r *ByteReader) (bool, uint, error)
- func ConvertByte(r *ByteReader) (byte, uint, error)
- func ConvertFloat[T constraints.Float](r *ByteReader) (T, uint, error)
- func ConvertSigned[T constraints.Signed](r *ByteReader) (T, uint, error)
- func ConvertUnsigned[T constraints.Unsigned](r *ByteReader) (T, uint, error)
- func Read1D[T any](r io.Reader, chunkSize int, conv func(*ByteReader) (T, uint, error)) ([]T, error)
- func Read2D[T any](r io.Reader, chunkSize int, conv func(*ByteReader) (T, uint, error)) ([][]T, error)
- func Read3D[T any](r io.Reader, chunkSize int, conv func(*ByteReader) (T, uint, error)) ([][][]T, error)
- type ByteReader
Constants ¶
View Source
const (
DefaultChunkSize int = 32768
)
Variables ¶
This section is empty.
Functions ¶
func ConvertBool ¶
func ConvertBool(r *ByteReader) (bool, uint, error)
func ConvertByte ¶
func ConvertByte(r *ByteReader) (byte, uint, error)
func ConvertFloat ¶
func ConvertFloat[T constraints.Float](r *ByteReader) (T, uint, error)
func ConvertSigned ¶
func ConvertSigned[T constraints.Signed](r *ByteReader) (T, uint, error)
func ConvertUnsigned ¶
func ConvertUnsigned[T constraints.Unsigned](r *ByteReader) (T, uint, error)
Types ¶
type ByteReader ¶
type ByteReader = ite.ByteReader
Click to show internal directories.
Click to hide internal directories.