bitutil

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 1 Imported by: 2

README

go-bitutil

This library provides helpful methods and types for performing typical bitwise operations on integers, e.g. packing/unpacking, bit flags.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs16 added in v1.1.0

func Abs16(i int16) int16

Abs16 returns the absolute value of i (calculated without branching).

func Abs32 added in v1.1.0

func Abs32(i int32) int32

Abs32 returns the absolute value of i (calculated without branching).

func Abs64 added in v1.1.0

func Abs64(i int64) int64

Abs64 returns the absolute value of i (calculated without branching).

func Abs8 added in v1.1.0

func Abs8(i int8) int8

Abs8 returns the absolute value of i (calculated without branching).

func PackInt16s

func PackInt16s(i1, i2 int16) uint32

PackInt16s will pack two signed 16bit integers into an unsigned 32bit integer.

func PackInt32s

func PackInt32s(i1, i2 int32) uint64

PackInt32s will pack two signed 32bit integers into an unsigned 64bit integer.

func PackInt8s

func PackInt8s(i1, i2 int8) uint16

PackInt8s will pack two signed 8bit integers into an unsigned 16bit integer.

func PackUint16s

func PackUint16s(u1, u2 uint16) uint32

PackUint16s will pack two unsigned 16bit integers into an unsigned 32bit integer.

func PackUint32s

func PackUint32s(u1, u2 uint32) uint64

PackUint32s will pack two unsigned 32bit integers into an unsigned 64bit integer.

func PackUint8s

func PackUint8s(u1, u2 uint8) uint16

PackUint8s will pack two unsigned 8bit integers into an unsigned 16bit integer.

func UnpackInt16s

func UnpackInt16s(i uint32) (int16, int16)

UnpackInt16s will unpack two signed 16bit integers from an unsigned 32bit integer.

func UnpackInt32s

func UnpackInt32s(i uint64) (int32, int32)

UnpackInt32s will unpack two signed 32bit integers from an unsigned 64bit integer.

func UnpackInt8s

func UnpackInt8s(i uint16) (int8, int8)

UnpackInt8s will unpack two signed 8bit integers from an unsigned 16bit integer.

func UnpackUint16s

func UnpackUint16s(u uint32) (uint16, uint16)

UnpackUint16s will unpack two unsigned 16bit integers from an unsigned 32bit integer.

func UnpackUint32s

func UnpackUint32s(u uint64) (uint32, uint32)

UnpackUint32s will unpack two unsigned 32bit integers from an unsigned 64bit integer.

func UnpackUint8s

func UnpackUint8s(u uint16) (uint8, uint8)

UnpackUint8s will unpack two unsigned 8bit integers from an unsigned 16bit integer.

Types

type Flags16

type Flags16 uint16

Flags16 is a type-casted unsigned integer with helper methods for easily managing up to 16 bit-flags.

func (Flags16) Get

func (f Flags16) Get(bit uint8) bool

Get will fetch the flag bit value at index 'bit'.

func (Flags16) Get0

func (f Flags16) Get0() bool

Get0 will fetch the flag bit value at index 0.

func (Flags16) Get1

func (f Flags16) Get1() bool

Get1 will fetch the flag bit value at index 1.

func (Flags16) Get10

func (f Flags16) Get10() bool

Get10 will fetch the flag bit value at index 10.

func (Flags16) Get11

func (f Flags16) Get11() bool

Get11 will fetch the flag bit value at index 11.

func (Flags16) Get12

func (f Flags16) Get12() bool

Get12 will fetch the flag bit value at index 12.

func (Flags16) Get13

func (f Flags16) Get13() bool

Get13 will fetch the flag bit value at index 13.

func (Flags16) Get14

func (f Flags16) Get14() bool

Get14 will fetch the flag bit value at index 14.

func (Flags16) Get15

func (f Flags16) Get15() bool

Get15 will fetch the flag bit value at index 15.

func (Flags16) Get2

func (f Flags16) Get2() bool

Get2 will fetch the flag bit value at index 2.

func (Flags16) Get3

func (f Flags16) Get3() bool

Get3 will fetch the flag bit value at index 3.

func (Flags16) Get4

func (f Flags16) Get4() bool

Get4 will fetch the flag bit value at index 4.

func (Flags16) Get5

func (f Flags16) Get5() bool

Get5 will fetch the flag bit value at index 5.

func (Flags16) Get6

func (f Flags16) Get6() bool

Get6 will fetch the flag bit value at index 6.

func (Flags16) Get7

func (f Flags16) Get7() bool

Get7 will fetch the flag bit value at index 7.

func (Flags16) Get8

func (f Flags16) Get8() bool

Get8 will fetch the flag bit value at index 8.

func (Flags16) Get9

func (f Flags16) Get9() bool

Get9 will fetch the flag bit value at index 9.

func (Flags16) GoString

func (f Flags16) GoString() string

GoString returns a more verbose human readable representation of Flags16.

func (Flags16) Set

func (f Flags16) Set(bit uint8) Flags16

Set will set the flag bit value at index 'bit'.

func (Flags16) Set0

func (f Flags16) Set0() Flags16

Set0 will set the flag bit value at index 0.

func (Flags16) Set1

func (f Flags16) Set1() Flags16

Set1 will set the flag bit value at index 1.

func (Flags16) Set10

func (f Flags16) Set10() Flags16

Set10 will set the flag bit value at index 10.

func (Flags16) Set11

func (f Flags16) Set11() Flags16

Set11 will set the flag bit value at index 11.

func (Flags16) Set12

func (f Flags16) Set12() Flags16

Set12 will set the flag bit value at index 12.

func (Flags16) Set13

func (f Flags16) Set13() Flags16

Set13 will set the flag bit value at index 13.

func (Flags16) Set14

func (f Flags16) Set14() Flags16

Set14 will set the flag bit value at index 14.

func (Flags16) Set15

func (f Flags16) Set15() Flags16

Set15 will set the flag bit value at index 15.

func (Flags16) Set2

func (f Flags16) Set2() Flags16

Set2 will set the flag bit value at index 2.

func (Flags16) Set3

func (f Flags16) Set3() Flags16

Set3 will set the flag bit value at index 3.

func (Flags16) Set4

func (f Flags16) Set4() Flags16

Set4 will set the flag bit value at index 4.

func (Flags16) Set5

func (f Flags16) Set5() Flags16

Set5 will set the flag bit value at index 5.

func (Flags16) Set6

func (f Flags16) Set6() Flags16

Set6 will set the flag bit value at index 6.

func (Flags16) Set7

func (f Flags16) Set7() Flags16

Set7 will set the flag bit value at index 7.

func (Flags16) Set8

func (f Flags16) Set8() Flags16

Set8 will set the flag bit value at index 8.

func (Flags16) Set9

func (f Flags16) Set9() Flags16

Set9 will set the flag bit value at index 9.

func (Flags16) String

func (f Flags16) String() string

String returns a human readable representation of Flags16.

func (Flags16) Unset

func (f Flags16) Unset(bit uint8) Flags16

Unset will unset the flag bit value at index 'bit'.

func (Flags16) Unset0

func (f Flags16) Unset0() Flags16

Unset0 will unset the flag bit value at index 0.

func (Flags16) Unset1

func (f Flags16) Unset1() Flags16

Unset1 will unset the flag bit value at index 1.

func (Flags16) Unset10

func (f Flags16) Unset10() Flags16

Unset10 will unset the flag bit value at index 10.

func (Flags16) Unset11

func (f Flags16) Unset11() Flags16

Unset11 will unset the flag bit value at index 11.

func (Flags16) Unset12

func (f Flags16) Unset12() Flags16

Unset12 will unset the flag bit value at index 12.

func (Flags16) Unset13

func (f Flags16) Unset13() Flags16

Unset13 will unset the flag bit value at index 13.

func (Flags16) Unset14

func (f Flags16) Unset14() Flags16

Unset14 will unset the flag bit value at index 14.

func (Flags16) Unset15

func (f Flags16) Unset15() Flags16

Unset15 will unset the flag bit value at index 15.

func (Flags16) Unset2

func (f Flags16) Unset2() Flags16

Unset2 will unset the flag bit value at index 2.

func (Flags16) Unset3

func (f Flags16) Unset3() Flags16

Unset3 will unset the flag bit value at index 3.

func (Flags16) Unset4

func (f Flags16) Unset4() Flags16

Unset4 will unset the flag bit value at index 4.

func (Flags16) Unset5

func (f Flags16) Unset5() Flags16

Unset5 will unset the flag bit value at index 5.

func (Flags16) Unset6

func (f Flags16) Unset6() Flags16

Unset6 will unset the flag bit value at index 6.

func (Flags16) Unset7

func (f Flags16) Unset7() Flags16

Unset7 will unset the flag bit value at index 7.

func (Flags16) Unset8

func (f Flags16) Unset8() Flags16

Unset8 will unset the flag bit value at index 8.

func (Flags16) Unset9

func (f Flags16) Unset9() Flags16

Unset9 will unset the flag bit value at index 9.

type Flags32

type Flags32 uint32

Flags32 is a type-casted unsigned integer with helper methods for easily managing up to 32 bit-flags.

func (Flags32) Get

func (f Flags32) Get(bit uint8) bool

Get will fetch the flag bit value at index 'bit'.

func (Flags32) Get0

func (f Flags32) Get0() bool

Get0 will fetch the flag bit value at index 0.

func (Flags32) Get1

func (f Flags32) Get1() bool

Get1 will fetch the flag bit value at index 1.

func (Flags32) Get10

func (f Flags32) Get10() bool

Get10 will fetch the flag bit value at index 10.

func (Flags32) Get11

func (f Flags32) Get11() bool

Get11 will fetch the flag bit value at index 11.

func (Flags32) Get12

func (f Flags32) Get12() bool

Get12 will fetch the flag bit value at index 12.

func (Flags32) Get13

func (f Flags32) Get13() bool

Get13 will fetch the flag bit value at index 13.

func (Flags32) Get14

func (f Flags32) Get14() bool

Get14 will fetch the flag bit value at index 14.

func (Flags32) Get15

func (f Flags32) Get15() bool

Get15 will fetch the flag bit value at index 15.

func (Flags32) Get16

func (f Flags32) Get16() bool

Get16 will fetch the flag bit value at index 16.

func (Flags32) Get17

func (f Flags32) Get17() bool

Get17 will fetch the flag bit value at index 17.

func (Flags32) Get18

func (f Flags32) Get18() bool

Get18 will fetch the flag bit value at index 18.

func (Flags32) Get19

func (f Flags32) Get19() bool

Get19 will fetch the flag bit value at index 19.

func (Flags32) Get2

func (f Flags32) Get2() bool

Get2 will fetch the flag bit value at index 2.

func (Flags32) Get20

func (f Flags32) Get20() bool

Get20 will fetch the flag bit value at index 20.

func (Flags32) Get21

func (f Flags32) Get21() bool

Get21 will fetch the flag bit value at index 21.

func (Flags32) Get22

func (f Flags32) Get22() bool

Get22 will fetch the flag bit value at index 22.

func (Flags32) Get23

func (f Flags32) Get23() bool

Get23 will fetch the flag bit value at index 23.

func (Flags32) Get24

func (f Flags32) Get24() bool

Get24 will fetch the flag bit value at index 24.

func (Flags32) Get25

func (f Flags32) Get25() bool

Get25 will fetch the flag bit value at index 25.

func (Flags32) Get26

func (f Flags32) Get26() bool

Get26 will fetch the flag bit value at index 26.

func (Flags32) Get27

func (f Flags32) Get27() bool

Get27 will fetch the flag bit value at index 27.

func (Flags32) Get28

func (f Flags32) Get28() bool

Get28 will fetch the flag bit value at index 28.

func (Flags32) Get29

func (f Flags32) Get29() bool

Get29 will fetch the flag bit value at index 29.

func (Flags32) Get3

func (f Flags32) Get3() bool

Get3 will fetch the flag bit value at index 3.

func (Flags32) Get30

func (f Flags32) Get30() bool

Get30 will fetch the flag bit value at index 30.

func (Flags32) Get31

func (f Flags32) Get31() bool

Get31 will fetch the flag bit value at index 31.

func (Flags32) Get4

func (f Flags32) Get4() bool

Get4 will fetch the flag bit value at index 4.

func (Flags32) Get5

func (f Flags32) Get5() bool

Get5 will fetch the flag bit value at index 5.

func (Flags32) Get6

func (f Flags32) Get6() bool

Get6 will fetch the flag bit value at index 6.

func (Flags32) Get7

func (f Flags32) Get7() bool

Get7 will fetch the flag bit value at index 7.

func (Flags32) Get8

func (f Flags32) Get8() bool

Get8 will fetch the flag bit value at index 8.

func (Flags32) Get9

func (f Flags32) Get9() bool

Get9 will fetch the flag bit value at index 9.

func (Flags32) GoString

func (f Flags32) GoString() string

GoString returns a more verbose human readable representation of Flags32.

func (Flags32) Set

func (f Flags32) Set(bit uint8) Flags32

Set will set the flag bit value at index 'bit'.

func (Flags32) Set0

func (f Flags32) Set0() Flags32

Set0 will set the flag bit value at index 0.

func (Flags32) Set1

func (f Flags32) Set1() Flags32

Set1 will set the flag bit value at index 1.

func (Flags32) Set10

func (f Flags32) Set10() Flags32

Set10 will set the flag bit value at index 10.

func (Flags32) Set11

func (f Flags32) Set11() Flags32

Set11 will set the flag bit value at index 11.

func (Flags32) Set12

func (f Flags32) Set12() Flags32

Set12 will set the flag bit value at index 12.

func (Flags32) Set13

func (f Flags32) Set13() Flags32

Set13 will set the flag bit value at index 13.

func (Flags32) Set14

func (f Flags32) Set14() Flags32

Set14 will set the flag bit value at index 14.

func (Flags32) Set15

func (f Flags32) Set15() Flags32

Set15 will set the flag bit value at index 15.

func (Flags32) Set16

func (f Flags32) Set16() Flags32

Set16 will set the flag bit value at index 16.

func (Flags32) Set17

func (f Flags32) Set17() Flags32

Set17 will set the flag bit value at index 17.

func (Flags32) Set18

func (f Flags32) Set18() Flags32

Set18 will set the flag bit value at index 18.

func (Flags32) Set19

func (f Flags32) Set19() Flags32

Set19 will set the flag bit value at index 19.

func (Flags32) Set2

func (f Flags32) Set2() Flags32

Set2 will set the flag bit value at index 2.

func (Flags32) Set20

func (f Flags32) Set20() Flags32

Set20 will set the flag bit value at index 20.

func (Flags32) Set21

func (f Flags32) Set21() Flags32

Set21 will set the flag bit value at index 21.

func (Flags32) Set22

func (f Flags32) Set22() Flags32

Set22 will set the flag bit value at index 22.

func (Flags32) Set23

func (f Flags32) Set23() Flags32

Set23 will set the flag bit value at index 23.

func (Flags32) Set24

func (f Flags32) Set24() Flags32

Set24 will set the flag bit value at index 24.

func (Flags32) Set25

func (f Flags32) Set25() Flags32

Set25 will set the flag bit value at index 25.

func (Flags32) Set26

func (f Flags32) Set26() Flags32

Set26 will set the flag bit value at index 26.

func (Flags32) Set27

func (f Flags32) Set27() Flags32

Set27 will set the flag bit value at index 27.

func (Flags32) Set28

func (f Flags32) Set28() Flags32

Set28 will set the flag bit value at index 28.

func (Flags32) Set29

func (f Flags32) Set29() Flags32

Set29 will set the flag bit value at index 29.

func (Flags32) Set3

func (f Flags32) Set3() Flags32

Set3 will set the flag bit value at index 3.

func (Flags32) Set30

func (f Flags32) Set30() Flags32

Set30 will set the flag bit value at index 30.

func (Flags32) Set31

func (f Flags32) Set31() Flags32

Set31 will set the flag bit value at index 31.

func (Flags32) Set4

func (f Flags32) Set4() Flags32

Set4 will set the flag bit value at index 4.

func (Flags32) Set5

func (f Flags32) Set5() Flags32

Set5 will set the flag bit value at index 5.

func (Flags32) Set6

func (f Flags32) Set6() Flags32

Set6 will set the flag bit value at index 6.

func (Flags32) Set7

func (f Flags32) Set7() Flags32

Set7 will set the flag bit value at index 7.

func (Flags32) Set8

func (f Flags32) Set8() Flags32

Set8 will set the flag bit value at index 8.

func (Flags32) Set9

func (f Flags32) Set9() Flags32

Set9 will set the flag bit value at index 9.

func (Flags32) String

func (f Flags32) String() string

String returns a human readable representation of Flags32.

func (Flags32) Unset

func (f Flags32) Unset(bit uint8) Flags32

Unset will unset the flag bit value at index 'bit'.

func (Flags32) Unset0

func (f Flags32) Unset0() Flags32

Unset0 will unset the flag bit value at index 0.

func (Flags32) Unset1

func (f Flags32) Unset1() Flags32

Unset1 will unset the flag bit value at index 1.

func (Flags32) Unset10

func (f Flags32) Unset10() Flags32

Unset10 will unset the flag bit value at index 10.

func (Flags32) Unset11

func (f Flags32) Unset11() Flags32

Unset11 will unset the flag bit value at index 11.

func (Flags32) Unset12

func (f Flags32) Unset12() Flags32

Unset12 will unset the flag bit value at index 12.

func (Flags32) Unset13

func (f Flags32) Unset13() Flags32

Unset13 will unset the flag bit value at index 13.

func (Flags32) Unset14

func (f Flags32) Unset14() Flags32

Unset14 will unset the flag bit value at index 14.

func (Flags32) Unset15

func (f Flags32) Unset15() Flags32

Unset15 will unset the flag bit value at index 15.

func (Flags32) Unset16

func (f Flags32) Unset16() Flags32

Unset16 will unset the flag bit value at index 16.

func (Flags32) Unset17

func (f Flags32) Unset17() Flags32

Unset17 will unset the flag bit value at index 17.

func (Flags32) Unset18

func (f Flags32) Unset18() Flags32

Unset18 will unset the flag bit value at index 18.

func (Flags32) Unset19

func (f Flags32) Unset19() Flags32

Unset19 will unset the flag bit value at index 19.

func (Flags32) Unset2

func (f Flags32) Unset2() Flags32

Unset2 will unset the flag bit value at index 2.

func (Flags32) Unset20

func (f Flags32) Unset20() Flags32

Unset20 will unset the flag bit value at index 20.

func (Flags32) Unset21

func (f Flags32) Unset21() Flags32

Unset21 will unset the flag bit value at index 21.

func (Flags32) Unset22

func (f Flags32) Unset22() Flags32

Unset22 will unset the flag bit value at index 22.

func (Flags32) Unset23

func (f Flags32) Unset23() Flags32

Unset23 will unset the flag bit value at index 23.

func (Flags32) Unset24

func (f Flags32) Unset24() Flags32

Unset24 will unset the flag bit value at index 24.

func (Flags32) Unset25

func (f Flags32) Unset25() Flags32

Unset25 will unset the flag bit value at index 25.

func (Flags32) Unset26

func (f Flags32) Unset26() Flags32

Unset26 will unset the flag bit value at index 26.

func (Flags32) Unset27

func (f Flags32) Unset27() Flags32

Unset27 will unset the flag bit value at index 27.

func (Flags32) Unset28

func (f Flags32) Unset28() Flags32

Unset28 will unset the flag bit value at index 28.

func (Flags32) Unset29

func (f Flags32) Unset29() Flags32

Unset29 will unset the flag bit value at index 29.

func (Flags32) Unset3

func (f Flags32) Unset3() Flags32

Unset3 will unset the flag bit value at index 3.

func (Flags32) Unset30

func (f Flags32) Unset30() Flags32

Unset30 will unset the flag bit value at index 30.

func (Flags32) Unset31

func (f Flags32) Unset31() Flags32

Unset31 will unset the flag bit value at index 31.

func (Flags32) Unset4

func (f Flags32) Unset4() Flags32

Unset4 will unset the flag bit value at index 4.

func (Flags32) Unset5

func (f Flags32) Unset5() Flags32

Unset5 will unset the flag bit value at index 5.

func (Flags32) Unset6

func (f Flags32) Unset6() Flags32

Unset6 will unset the flag bit value at index 6.

func (Flags32) Unset7

func (f Flags32) Unset7() Flags32

Unset7 will unset the flag bit value at index 7.

func (Flags32) Unset8

func (f Flags32) Unset8() Flags32

Unset8 will unset the flag bit value at index 8.

func (Flags32) Unset9

func (f Flags32) Unset9() Flags32

Unset9 will unset the flag bit value at index 9.

type Flags64

type Flags64 uint64

Flags64 is a type-casted unsigned integer with helper methods for easily managing up to 64 bit-flags.

func (Flags64) Get

func (f Flags64) Get(bit uint8) bool

Get will fetch the flag bit value at index 'bit'.

func (Flags64) Get0

func (f Flags64) Get0() bool

Get0 will fetch the flag bit value at index 0.

func (Flags64) Get1

func (f Flags64) Get1() bool

Get1 will fetch the flag bit value at index 1.

func (Flags64) Get10

func (f Flags64) Get10() bool

Get10 will fetch the flag bit value at index 10.

func (Flags64) Get11

func (f Flags64) Get11() bool

Get11 will fetch the flag bit value at index 11.

func (Flags64) Get12

func (f Flags64) Get12() bool

Get12 will fetch the flag bit value at index 12.

func (Flags64) Get13

func (f Flags64) Get13() bool

Get13 will fetch the flag bit value at index 13.

func (Flags64) Get14

func (f Flags64) Get14() bool

Get14 will fetch the flag bit value at index 14.

func (Flags64) Get15

func (f Flags64) Get15() bool

Get15 will fetch the flag bit value at index 15.

func (Flags64) Get16

func (f Flags64) Get16() bool

Get16 will fetch the flag bit value at index 16.

func (Flags64) Get17

func (f Flags64) Get17() bool

Get17 will fetch the flag bit value at index 17.

func (Flags64) Get18

func (f Flags64) Get18() bool

Get18 will fetch the flag bit value at index 18.

func (Flags64) Get19

func (f Flags64) Get19() bool

Get19 will fetch the flag bit value at index 19.

func (Flags64) Get2

func (f Flags64) Get2() bool

Get2 will fetch the flag bit value at index 2.

func (Flags64) Get20

func (f Flags64) Get20() bool

Get20 will fetch the flag bit value at index 20.

func (Flags64) Get21

func (f Flags64) Get21() bool

Get21 will fetch the flag bit value at index 21.

func (Flags64) Get22

func (f Flags64) Get22() bool

Get22 will fetch the flag bit value at index 22.

func (Flags64) Get23

func (f Flags64) Get23() bool

Get23 will fetch the flag bit value at index 23.

func (Flags64) Get24

func (f Flags64) Get24() bool

Get24 will fetch the flag bit value at index 24.

func (Flags64) Get25

func (f Flags64) Get25() bool

Get25 will fetch the flag bit value at index 25.

func (Flags64) Get26

func (f Flags64) Get26() bool

Get26 will fetch the flag bit value at index 26.

func (Flags64) Get27

func (f Flags64) Get27() bool

Get27 will fetch the flag bit value at index 27.

func (Flags64) Get28

func (f Flags64) Get28() bool

Get28 will fetch the flag bit value at index 28.

func (Flags64) Get29

func (f Flags64) Get29() bool

Get29 will fetch the flag bit value at index 29.

func (Flags64) Get3

func (f Flags64) Get3() bool

Get3 will fetch the flag bit value at index 3.

func (Flags64) Get30

func (f Flags64) Get30() bool

Get30 will fetch the flag bit value at index 30.

func (Flags64) Get31

func (f Flags64) Get31() bool

Get31 will fetch the flag bit value at index 31.

func (Flags64) Get32

func (f Flags64) Get32() bool

Get32 will fetch the flag bit value at index 32.

func (Flags64) Get33

func (f Flags64) Get33() bool

Get33 will fetch the flag bit value at index 33.

func (Flags64) Get34

func (f Flags64) Get34() bool

Get34 will fetch the flag bit value at index 34.

func (Flags64) Get35

func (f Flags64) Get35() bool

Get35 will fetch the flag bit value at index 35.

func (Flags64) Get36

func (f Flags64) Get36() bool

Get36 will fetch the flag bit value at index 36.

func (Flags64) Get37

func (f Flags64) Get37() bool

Get37 will fetch the flag bit value at index 37.

func (Flags64) Get38

func (f Flags64) Get38() bool

Get38 will fetch the flag bit value at index 38.

func (Flags64) Get39

func (f Flags64) Get39() bool

Get39 will fetch the flag bit value at index 39.

func (Flags64) Get4

func (f Flags64) Get4() bool

Get4 will fetch the flag bit value at index 4.

func (Flags64) Get40

func (f Flags64) Get40() bool

Get40 will fetch the flag bit value at index 40.

func (Flags64) Get41

func (f Flags64) Get41() bool

Get41 will fetch the flag bit value at index 41.

func (Flags64) Get42

func (f Flags64) Get42() bool

Get42 will fetch the flag bit value at index 42.

func (Flags64) Get43

func (f Flags64) Get43() bool

Get43 will fetch the flag bit value at index 43.

func (Flags64) Get44

func (f Flags64) Get44() bool

Get44 will fetch the flag bit value at index 44.

func (Flags64) Get45

func (f Flags64) Get45() bool

Get45 will fetch the flag bit value at index 45.

func (Flags64) Get46

func (f Flags64) Get46() bool

Get46 will fetch the flag bit value at index 46.

func (Flags64) Get47

func (f Flags64) Get47() bool

Get47 will fetch the flag bit value at index 47.

func (Flags64) Get48

func (f Flags64) Get48() bool

Get48 will fetch the flag bit value at index 48.

func (Flags64) Get49

func (f Flags64) Get49() bool

Get49 will fetch the flag bit value at index 49.

func (Flags64) Get5

func (f Flags64) Get5() bool

Get5 will fetch the flag bit value at index 5.

func (Flags64) Get50

func (f Flags64) Get50() bool

Get50 will fetch the flag bit value at index 50.

func (Flags64) Get51

func (f Flags64) Get51() bool

Get51 will fetch the flag bit value at index 51.

func (Flags64) Get52

func (f Flags64) Get52() bool

Get52 will fetch the flag bit value at index 52.

func (Flags64) Get53

func (f Flags64) Get53() bool

Get53 will fetch the flag bit value at index 53.

func (Flags64) Get54

func (f Flags64) Get54() bool

Get54 will fetch the flag bit value at index 54.

func (Flags64) Get55

func (f Flags64) Get55() bool

Get55 will fetch the flag bit value at index 55.

func (Flags64) Get56

func (f Flags64) Get56() bool

Get56 will fetch the flag bit value at index 56.

func (Flags64) Get57

func (f Flags64) Get57() bool

Get57 will fetch the flag bit value at index 57.

func (Flags64) Get58

func (f Flags64) Get58() bool

Get58 will fetch the flag bit value at index 58.

func (Flags64) Get59

func (f Flags64) Get59() bool

Get59 will fetch the flag bit value at index 59.

func (Flags64) Get6

func (f Flags64) Get6() bool

Get6 will fetch the flag bit value at index 6.

func (Flags64) Get60

func (f Flags64) Get60() bool

Get60 will fetch the flag bit value at index 60.

func (Flags64) Get61

func (f Flags64) Get61() bool

Get61 will fetch the flag bit value at index 61.

func (Flags64) Get62

func (f Flags64) Get62() bool

Get62 will fetch the flag bit value at index 62.

func (Flags64) Get63

func (f Flags64) Get63() bool

Get63 will fetch the flag bit value at index 63.

func (Flags64) Get7

func (f Flags64) Get7() bool

Get7 will fetch the flag bit value at index 7.

func (Flags64) Get8

func (f Flags64) Get8() bool

Get8 will fetch the flag bit value at index 8.

func (Flags64) Get9

func (f Flags64) Get9() bool

Get9 will fetch the flag bit value at index 9.

func (Flags64) GoString

func (f Flags64) GoString() string

GoString returns a more verbose human readable representation of Flags64.

func (Flags64) Set

func (f Flags64) Set(bit uint8) Flags64

Set will set the flag bit value at index 'bit'.

func (Flags64) Set0

func (f Flags64) Set0() Flags64

Set0 will set the flag bit value at index 0.

func (Flags64) Set1

func (f Flags64) Set1() Flags64

Set1 will set the flag bit value at index 1.

func (Flags64) Set10

func (f Flags64) Set10() Flags64

Set10 will set the flag bit value at index 10.

func (Flags64) Set11

func (f Flags64) Set11() Flags64

Set11 will set the flag bit value at index 11.

func (Flags64) Set12

func (f Flags64) Set12() Flags64

Set12 will set the flag bit value at index 12.

func (Flags64) Set13

func (f Flags64) Set13() Flags64

Set13 will set the flag bit value at index 13.

func (Flags64) Set14

func (f Flags64) Set14() Flags64

Set14 will set the flag bit value at index 14.

func (Flags64) Set15

func (f Flags64) Set15() Flags64

Set15 will set the flag bit value at index 15.

func (Flags64) Set16

func (f Flags64) Set16() Flags64

Set16 will set the flag bit value at index 16.

func (Flags64) Set17

func (f Flags64) Set17() Flags64

Set17 will set the flag bit value at index 17.

func (Flags64) Set18

func (f Flags64) Set18() Flags64

Set18 will set the flag bit value at index 18.

func (Flags64) Set19

func (f Flags64) Set19() Flags64

Set19 will set the flag bit value at index 19.

func (Flags64) Set2

func (f Flags64) Set2() Flags64

Set2 will set the flag bit value at index 2.

func (Flags64) Set20

func (f Flags64) Set20() Flags64

Set20 will set the flag bit value at index 20.

func (Flags64) Set21

func (f Flags64) Set21() Flags64

Set21 will set the flag bit value at index 21.

func (Flags64) Set22

func (f Flags64) Set22() Flags64

Set22 will set the flag bit value at index 22.

func (Flags64) Set23

func (f Flags64) Set23() Flags64

Set23 will set the flag bit value at index 23.

func (Flags64) Set24

func (f Flags64) Set24() Flags64

Set24 will set the flag bit value at index 24.

func (Flags64) Set25

func (f Flags64) Set25() Flags64

Set25 will set the flag bit value at index 25.

func (Flags64) Set26

func (f Flags64) Set26() Flags64

Set26 will set the flag bit value at index 26.

func (Flags64) Set27

func (f Flags64) Set27() Flags64

Set27 will set the flag bit value at index 27.

func (Flags64) Set28

func (f Flags64) Set28() Flags64

Set28 will set the flag bit value at index 28.

func (Flags64) Set29

func (f Flags64) Set29() Flags64

Set29 will set the flag bit value at index 29.

func (Flags64) Set3

func (f Flags64) Set3() Flags64

Set3 will set the flag bit value at index 3.

func (Flags64) Set30

func (f Flags64) Set30() Flags64

Set30 will set the flag bit value at index 30.

func (Flags64) Set31

func (f Flags64) Set31() Flags64

Set31 will set the flag bit value at index 31.

func (Flags64) Set32

func (f Flags64) Set32() Flags64

Set32 will set the flag bit value at index 32.

func (Flags64) Set33

func (f Flags64) Set33() Flags64

Set33 will set the flag bit value at index 33.

func (Flags64) Set34

func (f Flags64) Set34() Flags64

Set34 will set the flag bit value at index 34.

func (Flags64) Set35

func (f Flags64) Set35() Flags64

Set35 will set the flag bit value at index 35.

func (Flags64) Set36

func (f Flags64) Set36() Flags64

Set36 will set the flag bit value at index 36.

func (Flags64) Set37

func (f Flags64) Set37() Flags64

Set37 will set the flag bit value at index 37.

func (Flags64) Set38

func (f Flags64) Set38() Flags64

Set38 will set the flag bit value at index 38.

func (Flags64) Set39

func (f Flags64) Set39() Flags64

Set39 will set the flag bit value at index 39.

func (Flags64) Set4

func (f Flags64) Set4() Flags64

Set4 will set the flag bit value at index 4.

func (Flags64) Set40

func (f Flags64) Set40() Flags64

Set40 will set the flag bit value at index 40.

func (Flags64) Set41

func (f Flags64) Set41() Flags64

Set41 will set the flag bit value at index 41.

func (Flags64) Set42

func (f Flags64) Set42() Flags64

Set42 will set the flag bit value at index 42.

func (Flags64) Set43

func (f Flags64) Set43() Flags64

Set43 will set the flag bit value at index 43.

func (Flags64) Set44

func (f Flags64) Set44() Flags64

Set44 will set the flag bit value at index 44.

func (Flags64) Set45

func (f Flags64) Set45() Flags64

Set45 will set the flag bit value at index 45.

func (Flags64) Set46

func (f Flags64) Set46() Flags64

Set46 will set the flag bit value at index 46.

func (Flags64) Set47

func (f Flags64) Set47() Flags64

Set47 will set the flag bit value at index 47.

func (Flags64) Set48

func (f Flags64) Set48() Flags64

Set48 will set the flag bit value at index 48.

func (Flags64) Set49

func (f Flags64) Set49() Flags64

Set49 will set the flag bit value at index 49.

func (Flags64) Set5

func (f Flags64) Set5() Flags64

Set5 will set the flag bit value at index 5.

func (Flags64) Set50

func (f Flags64) Set50() Flags64

Set50 will set the flag bit value at index 50.

func (Flags64) Set51

func (f Flags64) Set51() Flags64

Set51 will set the flag bit value at index 51.

func (Flags64) Set52

func (f Flags64) Set52() Flags64

Set52 will set the flag bit value at index 52.

func (Flags64) Set53

func (f Flags64) Set53() Flags64

Set53 will set the flag bit value at index 53.

func (Flags64) Set54

func (f Flags64) Set54() Flags64

Set54 will set the flag bit value at index 54.

func (Flags64) Set55

func (f Flags64) Set55() Flags64

Set55 will set the flag bit value at index 55.

func (Flags64) Set56

func (f Flags64) Set56() Flags64

Set56 will set the flag bit value at index 56.

func (Flags64) Set57

func (f Flags64) Set57() Flags64

Set57 will set the flag bit value at index 57.

func (Flags64) Set58

func (f Flags64) Set58() Flags64

Set58 will set the flag bit value at index 58.

func (Flags64) Set59

func (f Flags64) Set59() Flags64

Set59 will set the flag bit value at index 59.

func (Flags64) Set6

func (f Flags64) Set6() Flags64

Set6 will set the flag bit value at index 6.

func (Flags64) Set60

func (f Flags64) Set60() Flags64

Set60 will set the flag bit value at index 60.

func (Flags64) Set61

func (f Flags64) Set61() Flags64

Set61 will set the flag bit value at index 61.

func (Flags64) Set62

func (f Flags64) Set62() Flags64

Set62 will set the flag bit value at index 62.

func (Flags64) Set63

func (f Flags64) Set63() Flags64

Set63 will set the flag bit value at index 63.

func (Flags64) Set7

func (f Flags64) Set7() Flags64

Set7 will set the flag bit value at index 7.

func (Flags64) Set8

func (f Flags64) Set8() Flags64

Set8 will set the flag bit value at index 8.

func (Flags64) Set9

func (f Flags64) Set9() Flags64

Set9 will set the flag bit value at index 9.

func (Flags64) String

func (f Flags64) String() string

String returns a human readable representation of Flags64.

func (Flags64) Unset

func (f Flags64) Unset(bit uint8) Flags64

Unset will unset the flag bit value at index 'bit'.

func (Flags64) Unset0

func (f Flags64) Unset0() Flags64

Unset0 will unset the flag bit value at index 0.

func (Flags64) Unset1

func (f Flags64) Unset1() Flags64

Unset1 will unset the flag bit value at index 1.

func (Flags64) Unset10

func (f Flags64) Unset10() Flags64

Unset10 will unset the flag bit value at index 10.

func (Flags64) Unset11

func (f Flags64) Unset11() Flags64

Unset11 will unset the flag bit value at index 11.

func (Flags64) Unset12

func (f Flags64) Unset12() Flags64

Unset12 will unset the flag bit value at index 12.

func (Flags64) Unset13

func (f Flags64) Unset13() Flags64

Unset13 will unset the flag bit value at index 13.

func (Flags64) Unset14

func (f Flags64) Unset14() Flags64

Unset14 will unset the flag bit value at index 14.

func (Flags64) Unset15

func (f Flags64) Unset15() Flags64

Unset15 will unset the flag bit value at index 15.

func (Flags64) Unset16

func (f Flags64) Unset16() Flags64

Unset16 will unset the flag bit value at index 16.

func (Flags64) Unset17

func (f Flags64) Unset17() Flags64

Unset17 will unset the flag bit value at index 17.

func (Flags64) Unset18

func (f Flags64) Unset18() Flags64

Unset18 will unset the flag bit value at index 18.

func (Flags64) Unset19

func (f Flags64) Unset19() Flags64

Unset19 will unset the flag bit value at index 19.

func (Flags64) Unset2

func (f Flags64) Unset2() Flags64

Unset2 will unset the flag bit value at index 2.

func (Flags64) Unset20

func (f Flags64) Unset20() Flags64

Unset20 will unset the flag bit value at index 20.

func (Flags64) Unset21

func (f Flags64) Unset21() Flags64

Unset21 will unset the flag bit value at index 21.

func (Flags64) Unset22

func (f Flags64) Unset22() Flags64

Unset22 will unset the flag bit value at index 22.

func (Flags64) Unset23

func (f Flags64) Unset23() Flags64

Unset23 will unset the flag bit value at index 23.

func (Flags64) Unset24

func (f Flags64) Unset24() Flags64

Unset24 will unset the flag bit value at index 24.

func (Flags64) Unset25

func (f Flags64) Unset25() Flags64

Unset25 will unset the flag bit value at index 25.

func (Flags64) Unset26

func (f Flags64) Unset26() Flags64

Unset26 will unset the flag bit value at index 26.

func (Flags64) Unset27

func (f Flags64) Unset27() Flags64

Unset27 will unset the flag bit value at index 27.

func (Flags64) Unset28

func (f Flags64) Unset28() Flags64

Unset28 will unset the flag bit value at index 28.

func (Flags64) Unset29

func (f Flags64) Unset29() Flags64

Unset29 will unset the flag bit value at index 29.

func (Flags64) Unset3

func (f Flags64) Unset3() Flags64

Unset3 will unset the flag bit value at index 3.

func (Flags64) Unset30

func (f Flags64) Unset30() Flags64

Unset30 will unset the flag bit value at index 30.

func (Flags64) Unset31

func (f Flags64) Unset31() Flags64

Unset31 will unset the flag bit value at index 31.

func (Flags64) Unset32

func (f Flags64) Unset32() Flags64

Unset32 will unset the flag bit value at index 32.

func (Flags64) Unset33

func (f Flags64) Unset33() Flags64

Unset33 will unset the flag bit value at index 33.

func (Flags64) Unset34

func (f Flags64) Unset34() Flags64

Unset34 will unset the flag bit value at index 34.

func (Flags64) Unset35

func (f Flags64) Unset35() Flags64

Unset35 will unset the flag bit value at index 35.

func (Flags64) Unset36

func (f Flags64) Unset36() Flags64

Unset36 will unset the flag bit value at index 36.

func (Flags64) Unset37

func (f Flags64) Unset37() Flags64

Unset37 will unset the flag bit value at index 37.

func (Flags64) Unset38

func (f Flags64) Unset38() Flags64

Unset38 will unset the flag bit value at index 38.

func (Flags64) Unset39

func (f Flags64) Unset39() Flags64

Unset39 will unset the flag bit value at index 39.

func (Flags64) Unset4

func (f Flags64) Unset4() Flags64

Unset4 will unset the flag bit value at index 4.

func (Flags64) Unset40

func (f Flags64) Unset40() Flags64

Unset40 will unset the flag bit value at index 40.

func (Flags64) Unset41

func (f Flags64) Unset41() Flags64

Unset41 will unset the flag bit value at index 41.

func (Flags64) Unset42

func (f Flags64) Unset42() Flags64

Unset42 will unset the flag bit value at index 42.

func (Flags64) Unset43

func (f Flags64) Unset43() Flags64

Unset43 will unset the flag bit value at index 43.

func (Flags64) Unset44

func (f Flags64) Unset44() Flags64

Unset44 will unset the flag bit value at index 44.

func (Flags64) Unset45

func (f Flags64) Unset45() Flags64

Unset45 will unset the flag bit value at index 45.

func (Flags64) Unset46

func (f Flags64) Unset46() Flags64

Unset46 will unset the flag bit value at index 46.

func (Flags64) Unset47

func (f Flags64) Unset47() Flags64

Unset47 will unset the flag bit value at index 47.

func (Flags64) Unset48

func (f Flags64) Unset48() Flags64

Unset48 will unset the flag bit value at index 48.

func (Flags64) Unset49

func (f Flags64) Unset49() Flags64

Unset49 will unset the flag bit value at index 49.

func (Flags64) Unset5

func (f Flags64) Unset5() Flags64

Unset5 will unset the flag bit value at index 5.

func (Flags64) Unset50

func (f Flags64) Unset50() Flags64

Unset50 will unset the flag bit value at index 50.

func (Flags64) Unset51

func (f Flags64) Unset51() Flags64

Unset51 will unset the flag bit value at index 51.

func (Flags64) Unset52

func (f Flags64) Unset52() Flags64

Unset52 will unset the flag bit value at index 52.

func (Flags64) Unset53

func (f Flags64) Unset53() Flags64

Unset53 will unset the flag bit value at index 53.

func (Flags64) Unset54

func (f Flags64) Unset54() Flags64

Unset54 will unset the flag bit value at index 54.

func (Flags64) Unset55

func (f Flags64) Unset55() Flags64

Unset55 will unset the flag bit value at index 55.

func (Flags64) Unset56

func (f Flags64) Unset56() Flags64

Unset56 will unset the flag bit value at index 56.

func (Flags64) Unset57

func (f Flags64) Unset57() Flags64

Unset57 will unset the flag bit value at index 57.

func (Flags64) Unset58

func (f Flags64) Unset58() Flags64

Unset58 will unset the flag bit value at index 58.

func (Flags64) Unset59

func (f Flags64) Unset59() Flags64

Unset59 will unset the flag bit value at index 59.

func (Flags64) Unset6

func (f Flags64) Unset6() Flags64

Unset6 will unset the flag bit value at index 6.

func (Flags64) Unset60

func (f Flags64) Unset60() Flags64

Unset60 will unset the flag bit value at index 60.

func (Flags64) Unset61

func (f Flags64) Unset61() Flags64

Unset61 will unset the flag bit value at index 61.

func (Flags64) Unset62

func (f Flags64) Unset62() Flags64

Unset62 will unset the flag bit value at index 62.

func (Flags64) Unset63

func (f Flags64) Unset63() Flags64

Unset63 will unset the flag bit value at index 63.

func (Flags64) Unset7

func (f Flags64) Unset7() Flags64

Unset7 will unset the flag bit value at index 7.

func (Flags64) Unset8

func (f Flags64) Unset8() Flags64

Unset8 will unset the flag bit value at index 8.

func (Flags64) Unset9

func (f Flags64) Unset9() Flags64

Unset9 will unset the flag bit value at index 9.

type Flags8

type Flags8 uint8

Flags8 is a type-casted unsigned integer with helper methods for easily managing up to 8 bit-flags.

func (Flags8) Get

func (f Flags8) Get(bit uint8) bool

Get will fetch the flag bit value at index 'bit'.

func (Flags8) Get0

func (f Flags8) Get0() bool

Get0 will fetch the flag bit value at index 0.

func (Flags8) Get1

func (f Flags8) Get1() bool

Get1 will fetch the flag bit value at index 1.

func (Flags8) Get2

func (f Flags8) Get2() bool

Get2 will fetch the flag bit value at index 2.

func (Flags8) Get3

func (f Flags8) Get3() bool

Get3 will fetch the flag bit value at index 3.

func (Flags8) Get4

func (f Flags8) Get4() bool

Get4 will fetch the flag bit value at index 4.

func (Flags8) Get5

func (f Flags8) Get5() bool

Get5 will fetch the flag bit value at index 5.

func (Flags8) Get6

func (f Flags8) Get6() bool

Get6 will fetch the flag bit value at index 6.

func (Flags8) Get7

func (f Flags8) Get7() bool

Get7 will fetch the flag bit value at index 7.

func (Flags8) GoString

func (f Flags8) GoString() string

GoString returns a more verbose human readable representation of Flags8.

func (Flags8) Set

func (f Flags8) Set(bit uint8) Flags8

Set will set the flag bit value at index 'bit'.

func (Flags8) Set0

func (f Flags8) Set0() Flags8

Set0 will set the flag bit value at index 0.

func (Flags8) Set1

func (f Flags8) Set1() Flags8

Set1 will set the flag bit value at index 1.

func (Flags8) Set2

func (f Flags8) Set2() Flags8

Set2 will set the flag bit value at index 2.

func (Flags8) Set3

func (f Flags8) Set3() Flags8

Set3 will set the flag bit value at index 3.

func (Flags8) Set4

func (f Flags8) Set4() Flags8

Set4 will set the flag bit value at index 4.

func (Flags8) Set5

func (f Flags8) Set5() Flags8

Set5 will set the flag bit value at index 5.

func (Flags8) Set6

func (f Flags8) Set6() Flags8

Set6 will set the flag bit value at index 6.

func (Flags8) Set7

func (f Flags8) Set7() Flags8

Set7 will set the flag bit value at index 7.

func (Flags8) String

func (f Flags8) String() string

String returns a human readable representation of Flags8.

func (Flags8) Unset

func (f Flags8) Unset(bit uint8) Flags8

Unset will unset the flag bit value at index 'bit'.

func (Flags8) Unset0

func (f Flags8) Unset0() Flags8

Unset0 will unset the flag bit value at index 0.

func (Flags8) Unset1

func (f Flags8) Unset1() Flags8

Unset1 will unset the flag bit value at index 1.

func (Flags8) Unset2

func (f Flags8) Unset2() Flags8

Unset2 will unset the flag bit value at index 2.

func (Flags8) Unset3

func (f Flags8) Unset3() Flags8

Unset3 will unset the flag bit value at index 3.

func (Flags8) Unset4

func (f Flags8) Unset4() Flags8

Unset4 will unset the flag bit value at index 4.

func (Flags8) Unset5

func (f Flags8) Unset5() Flags8

Unset5 will unset the flag bit value at index 5.

func (Flags8) Unset6

func (f Flags8) Unset6() Flags8

Unset6 will unset the flag bit value at index 6.

func (Flags8) Unset7

func (f Flags8) Unset7() Flags8

Unset7 will unset the flag bit value at index 7.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL