Method SetBytes NamespaceMongoDB.Bson.IO AssemblyMongoDB.Bson.dll SetBytes(int, byte[], int, int) Sets bytes. void SetBytes(int position, byte[] source, int offset, int count) Parameters position int The position. source byte[] The bytes. offset int The offset. count int The count.