Skip to content

71a3bd3a dd62 32f0 7958 46faf41668c3

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

BasePack.PutBool Method (Boolean, Int32)

Converts a bool 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 PutBool(
	bool value,
	int offset
)

VB

Protected Overridable Sub PutBool ( 
	value As Boolean,
	offset As Integer
)

C++

protected:
virtual void PutBool(
	bool value, 
	int offset
)

F#

abstract PutBool : 
        value : bool * 
        offset : int -> unit 
override PutBool : 
        value : bool * 
        offset : int -> unit 

Parameters

 

value
Type: System.Boolean
Bool to be writed in the inner buffer.
offset
Type: System.Int32
Start position to put the bool.

Exceptions

 

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

See Also

Reference

BasePack Class
PutBool Overload
NETLIB Namespace

Clone this wiki locally