Method PutSingle
PutSingle(Single)
Writes the given
The
NOTE: This was putSingle() in the JDK
Declaration
public abstract ByteBuffer PutSingle(float value)
Parameters
Type | Name | Description |
---|---|---|
System.Single | 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. |
PutSingle(Int32, Single)
Writes the given
The
NOTE: This was putSingle() in the JDK
Declaration
public abstract ByteBuffer PutSingle(int index, float value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | the index, must not be negative and equal or less than |
System.Single | value | the |
Returns
Type | Description |
---|---|
ByteBuffer |
Exceptions
Type | Condition |
---|---|
ReadOnlyBufferException | if no changes may be made to the contents of this buffer. |