Skill / SKILL.md

Snowbank Slices And Buffers

SnowBankSDK/foundationdb-dotnet-client

How to correctly use the Slice type and its companions (SliceReader, SliceWriter, SliceOwner) for binary data in the FoundationDB .NET client / SnowBank.Core codebase. Slice is a readonly struct (namespace System) — the logical equivalent of a ReadOnlyMemory of bytes with many helpers. Use whenever code constructs or reads a Slice, converts between bytes and other types (Slice.FromBytes/FromStringUtf8/FromInt32/FromFixed64/ToInt64/ToStringUtf8/AsSlice/ToArray), builds or parses a binary buffer (SliceWriter/SliceReader), rents pooled buffers (SliceOwner/ArrayPool), or worries about Nil-vs-Empty, endianness, or which integer encoding to use. For the Span-of-byte (Span-first) equivalents and the low-level buffer/pool machinery, see the bundled reference files.
3 views 159 repository stars 0 commentsUpdated Nov 27, 2026
Overview

How to correctly use the Slice type and its companions (SliceReader, SliceWriter, SliceOwner) for binary data in the FoundationDB .NET client / SnowBank.Core codebase. Slice is a readonly struct (namespace System) — the logical equivalent of a ReadOnlyMemory of bytes with many helpers. Use whenever code constructs or reads a Slice, converts between bytes and other types (Slice.FromBytes/FromStringUtf8/FromInt32/FromFixed64/ToInt64/ToStringUtf8/AsSlice/ToArray), builds or parses a binary buffer (SliceWriter/SliceReader), rents pooled buffers (SliceOwner/ArrayPool), or worries about Nil-vs-Empty, endianness, or which integer encoding to use. For the Span-of-byte (Span-first) equivalents and the low-level buffer/pool machinery, see the bundled reference files.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/SnowBankSDK/foundationdb-dotnet-client' skill-source

Use the complete skill-source/.claude/skills/snowbank-slices-and-buffers directory with your client’s skill installer.

  • .claude/skills/snowbank-slices-and-buffers Claude Code

    master · SKILL.md

    Open installation source

    Client installation directory present in source repository

  • plugins/foundationdb-skills/skills/snowbank-slices-and-buffers

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .claude/skills/snowbank-slices-and-buffers

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c7c87e2b759a74926287300a43efb921ee4a909e6af612e247d58f7dcc32c090
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills