 | ByteConverter Class |
Converts types and arrays before being sent or after being received across the network.
Unless an overload is called with useNbo = false, Network Byte Order will be used in the conversion.
Inheritance HierarchySystemObject
Couchbase.Core.IO.ConvertersByteConverter
Namespace:
Couchbase.Core.IO.Converters
Assembly:
Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntaxpublic static class ByteConverter
The ByteConverter type exposes the following members.
Methods
| Name | Description |
---|
  | FromInt16(Int16, Span) | |
  | FromInt16(Int16, Span, Void) | |
  | FromInt32(Int32, Span) | |
  | FromInt32(Int32, Span, Void) | |
  | FromInt64(Int64, Span) | |
  | FromInt64(Int64, Span, Void) | |
  | FromString | |
  | FromUInt16(UInt16, Span) | |
  | FromUInt16(UInt16, Span, Void) | |
  | FromUInt32(UInt32, Span) | |
  | FromUInt32(UInt32, Span, Void) | |
  | FromUInt64(UInt64, Span) | |
  | FromUInt64(UInt64, Span, Void) | |
  | GetStringByteCount |
Gets the number of bytes required to convert a string.
|
  | ToBoolean | |
  | ToDateTime | |
  | ToDouble | |
  | ToInt16(ReadOnlySpan) | |
  | ToInt16(ReadOnlySpan, Void) | |
  | ToInt32(ReadOnlySpan) | |
  | ToInt32(ReadOnlySpan, Void) | |
  | ToInt64(ReadOnlySpan) | |
  | ToInt64(ReadOnlySpan, Void) | |
  | ToSingle | |
  | ToString | |
  | ToUInt16(ReadOnlySpan) | |
  | ToUInt16(ReadOnlySpan, Void) | |
  | ToUInt32(ReadOnlySpan) | |
  | ToUInt32(ReadOnlySpan, Void) | |
  | ToUInt64(ReadOnlySpan) | |
  | ToUInt64(ReadOnlySpan, Void) | |
Top
See Also