public static double ReadDouble(ByteBuffer buffer)
 {
    return buffer.GetDouble();
 }