Table of contents
TOC
Collapse the table of content
Expand the table of content

Binary functions

Owen Duncan|Last Updated: 4/19/2018

Binary Formats

Reading numbers

FunctionDescription
BinaryFormat.7BitEncodedSignedIntegerA binary format that reads a 64-bit signed integer that was encoded using a 7-bit variable-length encoding.
BinaryFormat.7BitEncodedUnsignedIntegerA binary format that reads a 64-bit unsigned integer that was encoded using a 7-bit variable-length encoding.
BinaryFormat.BinaryReturns a binary format that reads a binary value.
BinaryFormat.ByteA binary format that reads an 8-bit unsigned integer.
BinaryFormat.ChoiceReturns a binary format that chooses the next binary format based on a value that has already been read.
BinaryFormat.DecimalA binary format that reads a .NET 16-byte decimal value.
BinaryFormat.DoubleA binary format that reads an 8-byte IEEE double-precision floating point value.
BinaryFormat.GroupReturns a binary format that reads a group of items. Each item value is preceded by a unique key value. The result is a list of item values.
BinaryFormat.LengthReturns a binary format that limits the amount of data that can be read. Both BinaryFormat.List and BinaryFormat.Binary can be used to read until end of the data. BinaryFormat.Length can be used to limit the number of bytes that are read.
BinaryFormat.ListReturns a binary format that reads a sequence of items and returns a list.
BinaryFormat.NullA binary format that reads zero bytes and returns null.
BinaryFormat.RecordReturns a binary format that reads a record. Each field in the record can have a different binary format.
BinaryFormat.SignedInteger16A binary format that reads a 16-bit signed integer.
BinaryFormat.SignedInteger32A binary format that reads a 32-bit signed integer.
BinaryFormat.SignedInteger64A binary format that reads a 64-bit signed integer.
BinaryFormat.SingleA binary format that reads a 4-byte IEEE single-precision floating point value.
BinaryFormat.TextReturns a binary format that reads a text value. The optional encoding value specifies the encoding of the text.
BinaryFormat.TransformReturns a binary format that will transform the values read by another binary format.
BinaryFormat.UnsignedInteger16A binary format that reads a 16-bit unsigned integer.
BinaryFormat.UnsignedInteger32A binary format that reads a 32-bit unsigned integer.
BinaryFormat.UnsignedInteger64A binary format that reads a 64-bit unsigned integer.
Controlling byte orderDescription
BinaryFormat.ByteOrderReturns a binary format with the byte order specified by a function.
Table.PartitionValuesReturns information about how a table is partitioned.

Binary

FunctionDescription
Binary.BufferBuffers the binary value in memory. The result of this call is a stable binary value, which means it will have a deterministic length and order of bytes.
Binary.CombineCombines a list of binaries into a single binary.
Binary.CompressCompresses a binary value using the given compression type.
Binary.DecompressDecompresses a binary value using the given compression type.
Binary.FromReturns a binary value from the given value.
Binary.FromListConverts a list of numbers into a binary value
Binary.FromTextDecodes data from a text form into binary.
Binary.InferContentTypeReturns a record with field Content.Type that contains the inferred MIME-type.
Binary.LengthReturns the length of binary values.
Binary.ToListConverts a binary value into a list of numbers
Binary.ToTextEncodes binary data into a text form.
BinaryEncoding.Base64Constant to use as the encoding type when base-64 encoding is required.
BinaryEncoding.HexConstant to use as the encoding type when hexadecimal encoding is required.
BinaryOccurrence.OptionalThe item is expected to appear zero or one time in the input.
BinaryOccurrence.RepeatingThe item is expected to appear zero or more times in the input.
BinaryOccurrence.RequiredThe item is expected to appear once in the input.
ByteOrder.BigEndianA possible value for the byteOrder parameter in BinaryFormat.ByteOrder. The most signficant byte appears first in Big Endian byte order.
ByteOrder.LittleEndianA possible value for the byteOrder parameter in BinaryFormat.ByteOrder. The least signficant byte appears first in Little Endian byte order.
Compression.DeflateThe compressed data is in the 'Deflate' format.
Compression.GZipThe compressed data is in the 'GZip' format.
Occurrence.OptionalThe item is expected to appear zero or one time in the input.
Occurrence.RepeatingThe item is expected to appear zero or more times in the input.
Occurrence.RequiredThe item is expected to appear once in the input.
© 2018 Microsoft