public void TestStreamId() { var should = new byte[] { 0x00, 0x00, 0x00 }; IBytesStruct info = new StreamId(); using var memory = MemoryPool <byte> .Shared.Rent(info.Size); Assert.IsTrue(info.ToMemory(memory.Memory).Span.SequenceEqual(should)); }