-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathformat.go
More file actions
27 lines (25 loc) · 955 Bytes
/
Copy pathformat.go
File metadata and controls
27 lines (25 loc) · 955 Bytes
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
package sampling
// Format is the format of the sample data
type Format uint8
const (
// Format8BitUnsigned is for unsigned 8-bit data
Format8BitUnsigned = Format(iota)
// Format8BitSigned is for signed 8-bit data
Format8BitSigned
// Format16BitLEUnsigned is for unsigned, little-endian, 16-bit data
Format16BitLEUnsigned
// Format16BitLESigned is for signed, little-endian, 16-bit data
Format16BitLESigned
// Format16BitBEUnsigned is for unsigned, big-endian, 16-bit data
Format16BitBEUnsigned
// Format16BitBESigned is for signed, big-endian, 16-bit data
Format16BitBESigned
// Format32BitLEFloat is for little-endian, 32-bit floating-point data
Format32BitLEFloat
// Format32BitBEFloat is for big-endian, 32-bit floating-point data
Format32BitBEFloat
// Format64BitLEFloat is for little-endian, 64-bit floating-point data
Format64BitLEFloat
// Format64BitBEFloat is for big-endian, 64-bit floating-point data
Format64BitBEFloat
)