Skip to content

499e2e36 a68c 9925 0121 08ee0499b65a

Arthur Frederico Neves edited this page Jul 19, 2016 · 3 revisions

BasePack.PutChar Method (Char, Int32)

Converts a char to a byte buffer and put in the inner buffer, started in writePosition

Namespace: NETLIB
Assembly: NETLIB (in NETLIB.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

protected virtual void PutChar(
	char value,
	int offset
)

VB

Protected Overridable Sub PutChar ( 
	value As Char,
	offset As Integer
)

C++

protected:
virtual void PutChar(
	wchar_t value, 
	int offset
)

F#

abstract PutChar : 
        value : char * 
        offset : int -> unit 
override PutChar : 
        value : char * 
        offset : int -> unit 

Parameters

 

value
Type: System.Char
Char to be writed in the inner buffer.
offset
Type: System.Int32
Start position to put the char.

Exceptions

 

Exception Condition
ArgumentOutOfRangeException Throws when offset plus 1 is larger or equal than the buffer length.

See Also

Reference

BasePack Class
PutChar Overload
NETLIB Namespace

Clone this wiki locally