Gamalto

Fork me on GitHub

Object SeekableStream Overview

Gamalto. SeekableStream

new Gamalto.SeekableStream()

Base object to create seekable streams. It's not meant to be used directly.

Extends
  • Gamalto.Stream

Members

SEEK_CUR :number

constant

Position is from the current stream position.

SEEK_END :number

constant

Position is from the end of the stream.

SEEK_SET :number

constant

Position is from the start of the stream.

Methods

rewind()

Sets the stream pointer to the beginning of the stream.

seek(offset, originopt)

Changes the position of the stream pointer.

Parameters
Name Type Attributes Description
offset number

Offset to be applied to the stream pointer.

origin number <optional>

Origin of the position change. Defaults to SEEK_CUR.

See
Documentation generated by JSDoc 3.3.2 on Sun Sep 13 2015 20:13:31 GMT+0200 (CEST)