Lines Matching refs:ConstByteSpan
27 Result<ConstByteSpan> CommandPacket::Encode(ByteSpan buffer, in Encode()
34 return ConstByteSpan(builder.data(), builder.size()); in Encode()
37 std::optional<CommandPacket> CommandPacket::Decode(ConstByteSpan data, in Decode()
55 Result<ConstByteSpan> AsyncDataPacket::Encode(ByteSpan buffer, in Encode()
62 return ConstByteSpan(builder.data(), builder.size()); in Encode()
65 std::optional<AsyncDataPacket> AsyncDataPacket::Decode(ConstByteSpan data, in Decode()
83 Result<ConstByteSpan> SyncDataPacket::Encode(ByteSpan buffer, in Encode()
90 return ConstByteSpan(builder.data(), builder.size()); in Encode()
93 std::optional<SyncDataPacket> SyncDataPacket::Decode(ConstByteSpan data, in Decode()
111 Result<ConstByteSpan> EventPacket::Encode(ByteSpan buffer) const { in Encode()
117 return ConstByteSpan(builder.data(), builder.size()); in Encode()
120 std::optional<EventPacket> EventPacket::Decode(ConstByteSpan data) { in Decode()