using Craft.Net.Common; using System.IO; public class MyClass { public static void Main() { MinecraftStream stream = new MinecraftStream(new MemoryStream()); stream.WriteBoolean(true); } }In this example, we create a new instance of MinecraftStream using a MemoryStream, then call the WriteBoolean method to write a true Boolean value to the stream. The Craft.Net.Common package library is available on NuGet. It provides various classes and methods for interacting with Minecraft servers, including reading and writing data to and from the server.