RandomAccessFile.WriteShort(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes a short
to the file as two bytes, high byte first.
[Android.Runtime.Register("writeShort", "(I)V", "")]
public void WriteShort (int v);
[<Android.Runtime.Register("writeShort", "(I)V", "")>]
abstract member WriteShort : int -> unit
override this.WriteShort : int -> unit
Parameters
- v
- Int32
a short
to be written.
Implements
- Attributes
Exceptions
if an I/O error occurs while writing to this file.
Remarks
Writes a short
to the file as two bytes, high byte first. The write starts at the current position of the file pointer.
Java documentation for java.io.RandomAccessFile.writeShort(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.