Skip to content

Commit 79f00bc

Browse files
committed
fix: remove ToBigEndianBytes
1 parent bc6546e commit 79f00bc

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/iceberg/util/uuid.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ uint8_t Uuid::operator[](size_t index) const {
207207
return data_[index];
208208
}
209209

210-
std::array<uint8_t, Uuid::kLength> Uuid::ToBigEndianBytes() const { return data_; }
211-
212210
std::string Uuid::ToString() const {
213211
return std::format(
214212
"{:02x}{:02x}{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}{:02x}"

src/iceberg/util/uuid.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ class ICEBERG_EXPORT Uuid {
6161
/// \brief Create a UUID from a 16-byte array.
6262
static Result<Uuid> FromBytes(std::span<const uint8_t> bytes);
6363

64-
/// \brief Get the raw bytes of the UUID in big-endian order.
65-
std::array<uint8_t, kLength> ToBigEndianBytes() const;
66-
6764
/// \brief Get the raw bytes of the UUID.
6865
std::span<const uint8_t> bytes() const { return data_; }
6966

0 commit comments

Comments
 (0)