-
Notifications
You must be signed in to change notification settings - Fork 0
/
bzero.go
41 lines (33 loc) · 864 Bytes
/
bzero.go
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
30
31
32
33
34
35
36
37
38
39
40
41
package bzero
// Uint8 fills the given []uint8 slice with zeroes.
func Uint8(slice []uint8) {
dispatchUint8(slice)
}
// Uint16 fills the given []uint16 slice with zeroes.
func Uint16(slice []uint16) {
dispatchUint16(slice)
}
// Uint32 fills the given []uint32 slice with zeroes.
func Uint32(slice []uint32) {
dispatchUint32(slice)
}
// Uint64 fills the given []uint64 slice with zeroes.
func Uint64(slice []uint64) {
dispatchUint64(slice)
}
// Int8 fills the given []int8 slice with zeroes.
func Int8(slice []int8) {
dispatchInt8(slice)
}
// Int16 fills the given []int16 slice with zeroes.
func Int16(slice []int16) {
dispatchInt16(slice)
}
// Int32 fills the given []int32 slice with zeroes.
func Int32(slice []int32) {
dispatchInt32(slice)
}
// Int64 fills the given []int64 slice with zeroes.
func Int64(slice []int64) {
dispatchInt64(slice)
}