Searched refs:byte_order_ (Results 1 – 2 of 2) sorted by relevance
54 byte_order_ = byte_order; in Construct()82 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost16(v) : v; in ReadUInt16()92 if (byte_order_ == ORDER_NETWORK || IsHostBigEndian()) { in ReadUInt24()99 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt24()111 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt32()123 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost64(v) : v; in ReadUInt64()155 uint16_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork16(val) : val; in WriteUInt16()160 uint32_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt24()162 if (byte_order_ == ORDER_NETWORK || IsHostBigEndian()) { in WriteUInt24()169 uint32_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt32()[all …]
46 ByteOrder Order() const { return byte_order_; } in Order()113 ByteOrder byte_order_; variable