Method WriteSlice NamespaceMongoDB.Bson.IO AssemblyMongoDB.Bson.dll WriteSlice(BsonStream, IByteBuffer) Writes a slice to the stream. public static void WriteSlice(this BsonStream stream, IByteBuffer slice) Parameters stream BsonStream The stream. slice IByteBuffer The slice.