[Home] Module Microsoft.FSharp.Core.Byte


Byte (8-bit) operations.

Values

ValueDescription
val add : byte -> byte -> byte
Returns the sum of a and b
val compare : byte -> byte -> int
Compares a and b and returns 1 if a > b, -1 if b < a and 0 if a = b
val div : byte -> byte -> byte
Returns a divided by b
val logand : byte -> byte -> byte
Combines the binary representation of a and b by bitwise and
val lognot : byte -> byte
Returns the bitwise logical negation of a
val logor : byte -> byte -> byte
Combines the binary representation of a and b by bitwise or
val logxor : byte -> byte -> byte
Combines the binary representation of a and b by bitwise xor
val mul : byte -> byte -> byte
Returns a multiplied by b
val of_char : char -> byte
Converts a char to a byte
val of_int : int -> byte
Converts a 32-bit integer to a byte
val of_int32 : int32 -> byte
Converts a 32-bit integer to a byte
val of_string : string -> byte
Converts a string to a byte
val of_uint16 : uint16 -> byte
Converts a 16-bit integer to a byte
val of_uint32 : uint32 -> byte
Converts an unsigned 32-bit integer to a byte
val one : byte
The value one as a System.Byte
val pred : byte -> byte
Returns the predeccessor of the argument wrapped around 0uy
val rem : byte -> byte -> byte
Returns the remainder of a divided by b
val shift_left : byte -> int -> byte
Shifts the binary representation a by n bits to the left
val shift_right : byte -> int -> byte
Shifts the binary representation a by n bits to the right
val sub : byte -> byte -> byte
Returns a minus b
val succ : byte -> byte
Returns the successor of the argument wrapped around 255uy
val to_char : byte -> char
Converts a byte to a char
val to_int : byte -> int
Converts a byte to a 32-bit integer
val to_int32 : byte -> int32
Converts a byte to a 32-bit integer
val to_string : byte -> string
Converts a byte to a string
val to_uint16 : byte -> uint16
Converts a byte to a 16-bit integer
val to_uint32 : byte -> uint32
Converts a byte to an unsigned 32-bit integer
val zero : byte
The value zero as a System.Byte

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19