public sealed class Type.Types.Int64.Types.Encoding.Types.BigEndianBytes : IMessage<Type.Types.Int64.Types.Encoding.Types.BigEndianBytes>, IEquatable<Type.Types.Int64.Types.Encoding.Types.BigEndianBytes>, IDeepCloneable<Type.Types.Int64.Types.Encoding.Types.BigEndianBytes>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class Type.Types.Int64.Types.Encoding.Types.BigEndianBytes.
Encodes the value as an 8-byte big endian twos complement Bytes
value.
Order-preserving? No (positive values only)
Self-delimiting? Yes
Compatibility?
BigQuery Federation BINARY encoding
HBase Bytes.toBytes
Java ByteBuffer.putLong() with ByteOrder.BIG_ENDIAN
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eType.Types.Int64.Types.Encoding.Types.BigEndianBytes\u003c/code\u003e class in the Google Bigtable v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 3.17.0, and the page lists documentation for versions ranging from 2.2.0 to 3.17.0, each linking to its corresponding reference page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigEndianBytes\u003c/code\u003e class encodes values as an 8-byte big-endian two's complement \u003ccode\u003eBytes\u003c/code\u003e value, and it is self-delimiting but not order-preserving for negative values.\u003c/p\u003e\n"],["\u003cp\u003eThis encoding is compatible with BigQuery Federation's \u003ccode\u003eBINARY\u003c/code\u003e encoding, HBase's \u003ccode\u003eBytes.toBytes\u003c/code\u003e, and Java's \u003ccode\u003eByteBuffer.putLong()\u003c/code\u003e with \u003ccode\u003eByteOrder.BIG_ENDIAN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigEndianBytes\u003c/code\u003e class inherits from the object class and implements various interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class Type.Types.Int64.Types.Encoding.Types.BigEndianBytes (3.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.23.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes) \n\n public sealed class Type.Types.Int64.Types.Encoding.Types.BigEndianBytes : IMessage\u003cType.Types.Int64.Types.Encoding.Types.BigEndianBytes\u003e, IEquatable\u003cType.Types.Int64.Types.Encoding.Types.BigEndianBytes\u003e, IDeepCloneable\u003cType.Types.Int64.Types.Encoding.Types.BigEndianBytes\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class Type.Types.Int64.Types.Encoding.Types.BigEndianBytes.\n\nEncodes the value as an 8-byte big endian twos complement `Bytes`\nvalue.\n\n- Order-preserving? No (positive values only)\n- Self-delimiting? Yes\n- Compatibility?\n - BigQuery Federation `BINARY` encoding\n - HBase `Bytes.toBytes`\n- Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN` \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Type.Types.Int64.Types.Encoding.Types.BigEndianBytes \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Type](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types)[Int64](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types)[Encoding](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types)[BigEndianBytes](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Type](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types)[Int64](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types)[Encoding](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types)[BigEndianBytes](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Type](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types)[Int64](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types)[Encoding](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding)[Types](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types)[BigEndianBytes](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.Type.Types.Int64.Types.Encoding.Types.BigEndianBytes), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Bigtable.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.V2.dll\n\nConstructors\n------------\n\n### BigEndianBytes()\n\n public BigEndianBytes()\n\n### BigEndianBytes(BigEndianBytes)\n\n public BigEndianBytes(Type.Types.Int64.Types.Encoding.Types.BigEndianBytes other)\n\nProperties\n----------\n\n### BytesType\n\n public Type.Types.Bytes BytesType { get; set; }\n\nDeprecated: ignored if set."]]