Method PutInt32
PutInt32(Int32)
Writes the given
The
NOTE: This was putInt() in the JDK
Declaration
public abstract ByteBuffer PutInt32(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | the |
Returns
Type | Description |
---|---|
ByteBuffer | this buffer. |
Exceptions
Type | Condition |
---|---|
BufferOverflowException | if position is greater than |
ReadOnlyBufferException | if no changes may be made to the contents of this buffer. |
PutInt32(Int32, Int32)
Writes the given
The
NOTE: This was putInt() in the JDK
Declaration
public abstract ByteBuffer PutInt32(int index, int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | the index, must not be negative and equal or less than |
System.Int32 | value | the |
Returns
Type | Description |
---|---|
ByteBuffer | this buffer. |
Exceptions
Type | Condition |
---|---|
ReadOnlyBufferException | if no changes may be made to the contents of this buffer. |