public static long ReadLong(ByteBuffer buffer)
 {
    return buffer.GetInt64();
 }