func DecodeOrderPreservingVarUint64(bytes []byte) (uint64, int) {
	s, _ := proto.DecodeVarint(bytes)
	size := int(s)
	decodedBytes := make([]byte, 8)
	copy(decodedBytes[8-size:], bytes[1:size+1])
	numBytesConsumed := size + 1
	return binary.BigEndian.Uint64(decodedBytes), numBytesConsumed
}
// DecodeOrderPreservingVarUint64 decodes the number from the bytes obtained from method 'EncodeOrderPreservingVarUint64'.
// Also, returns the number of bytes that are consumed in the process
DecodeOrderPreservingVarUint64 decodes the number from the bytes obtained from method 'EncodeOrderPreservingVarUint64'.
Also, returns the number of bytes that are consumed in the process
// DecodeOrderPreservingVarUint64 decodes the number from the bytes obtained from method ' EncodeOrderPreservingVarUint64 ' . // Also returns the number of bytes that are consumed in the process
func DecodeOrderPreservingVarUint64(bytes []byte) (uint64, int) {
	s, _ := proto.DecodeVarint(bytes)
	size := int(s)
	decodedBytes := make([]byte, 8)
	copy(decodedBytes[8-size:], bytes[1:size+1])
	numBytesConsumed := size + 1
	return binary.BigEndian.Uint64(decodedBytes), numBytesConsumed
}
func DecodeOrderPreservingVarUint64 ( bytes [ ] byte ) ( uint64 , int ) { s , _ := proto . DecodeVarint ( bytes ) size := int ( s ) decodedBytes := make ( [ ] byte , 8 ) copy ( decodedBytes [ 8 - size : ] , bytes [ 1 : size + 1 ] ) numBytesConsumed := size + 1 return binary . BigEndian . Uint64 ( decodedBytes ) , numBytesConsumed }
DecodeOrderPreservingVarUint64 decodes the number from the bytes obtained from method 'EncodeOrderPreservingVarUint64'.
DecodeOrderPreservingVarUint64 decodes the number from the bytes obtained from method ' EncodeOrderPreservingVarUint64 ' .