[This is preliminary documentation and is subject to change.]

Provides utility methods for working with byte arrays and pointers.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static class BufferUtil

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
MemCmp(array<Byte>[]()[][], Int32, String)
Checks whether the sequence of bytes in data at the given offset matches the sequence of ASCII characters in value. Basically, checks whether the byte array contains the string at this offset.
MemCpy(Byte*, Byte*, Int32)
Copies contents of src buffer to dest buffer, as efficiently as possible.
MemSet(array<Byte>[]()[][], Byte)
Fills the entire given byte array with a specified byte value, as efficiently as possible.
MemSet(array<Byte>[]()[][], Byte, Int32, Int32)
Fills a section of the given byte array with a specified byte value, as efficiently as possible.
ReadAll(Stream, array<Byte>[]()[][])
Reads a number of bytes from source that matches the length of destination byte array.

Inheritance Hierarchy

System..::..Object
  fCraft..::..BufferUtil

See Also