setFloat32 method
Writes a floating point
value
to 4-bytes
.
The offset must satisy the relations 0
≤ offset
≤ offset+4
≤ this.length
.
Implementation
void setFloat32(final double value) {
_increaseCapacity(ByteLength.f32);
buffer.setFloat32(value, offset);
offset += ByteLength.f32;
}