functional overview
Obtains a specified number of bytes of data from an arbitrary position in the binary data.
Details of Functions
binary data(at sentence-end, falling tone) indicates a confident conclusionstarting positionFrom the first byte,lengthObtains the number of bytes of characters.
starting positionis negative, the position is from the tail. For example, -2 means "starting from the second byte from the back".
lengthis less than or equal to 0, it means "to the end.
parameter
- argument (e.g. function, program, programme)
-
binary data binary data
Specify the target binary data.starting position numeric data
Specifies the byte position to be acquired.length numeric data
Specifies the number of bytes to be retrieved.data type
Specifies the type of data acquired.options Contents binary data Returns results as binary data. UTF-8 character string Returns the result as string data.
When you want to get a non-UTF8 string
binary dataAfter importing as
String Functions/String Code Conversion using
Please.Integer value (LE/BE) Returns results as numeric data.
Specify 1, 2, 4 or 8 for the length.
LE and BE are Little Endian and
Represents big endian.Actual value (LE/BE) Returns results as numeric data.
Specify 4 or 8 for the length.
LE and BE are Little Endian and
Represents big endian.
- return value
-
binary data character string data numeric data
Returns the acquired data.