C# Class PRI.ProductivityExtensions.SqlBytesExtensions.SqlBytesable

Class that contains extension methods that extend SqlBytes
显示文件 Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
Read ( this sqlbytes, System.Int64 offset, Byte buffer ) : System.Int64

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. sqlbytes.Read(offset, buffer);

Write ( this sqlbytes, System.Int64 offset, Byte buffer ) : void

Extends Write so that buffer offset of 0 and call to Array.Length are not needed. sqlbytes.Write(offset, buffer);

Method Details

Read() public static method

Extends Read so that buffer offset of 0 and call to Array.Length are not needed. sqlbytes.Read(offset, buffer);
public static Read ( this sqlbytes, System.Int64 offset, Byte buffer ) : System.Int64
sqlbytes this
offset System.Int64
buffer Byte
return System.Int64

Write() public static method

Extends Write so that buffer offset of 0 and call to Array.Length are not needed. sqlbytes.Write(offset, buffer);
public static Write ( this sqlbytes, System.Int64 offset, Byte buffer ) : void
sqlbytes this
offset System.Int64
buffer Byte
return void