summaryrefslogtreecommitdiff
path: root/pkg/binstruct/binint.go
blob: fb6374c86751529b28ee1624b927929cd9381515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package binstruct

import (
	"reflect"

	"lukeshu.com/btrfs-tools/pkg/binstruct/binint"
)

type (
	U8    = binint.U8
	U16le = binint.U16le
	U32le = binint.U32le
	U64le = binint.U64le
	U16be = binint.U16be
	U32be = binint.U32be
	U64be = binint.U64be
	I8    = binint.I8
	I16le = binint.I16le
	I32le = binint.I32le
	I64le = binint.I64le
	I16be = binint.I16be
	I32be = binint.I32be
	I64be = binint.I64be
)

var (
	u8Type = reflect.TypeOf(U8(0))
	i8Type = reflect.TypeOf(I8(0))
)