BinaryBlockIO (object)

バージョン 2.0.0 で追加.

The BinaryBlockIO provides a data structure which can both read and write a binary file using blocks. This can be very useful within canvas to read and write data for file caching scenarios.

BinaryBlockIO BinaryBlockIO BinaryBlockIO

Methods

  BinaryBlockIO ( in BinaryBlockIO other )
  BinaryBlockIO ( in String filePath )
  BinaryBlockIO ()
BinaryBlockIO clone ? ()
  close ! ()
Boolean[] readBooleanArray ! ( in String block )
Color[] readColorArray ! ( in String block )
Float32[] readFloat32Array ! ( in String block )
Mat33[] readMat33Array ! ( in String block )
Mat44[] readMat44Array ! ( in String block )
Quat[] readQuatArray ! ( in String block )
SInt32[] readSInt32Array ! ( in String block )
UInt32[] readUInt32Array ! ( in String block )
Vec2[] readVec2Array ! ( in String block )
Vec3[] readVec3Array ! ( in String block )
Vec4[] readVec4Array ! ( in String block )
Xfo[] readXfoArray ! ( in String block )
  setFilePath ! ( in String filePath )
  setMode ! ( in SInt32 mode )
  writeBooleanArray ! ( in String block, in Boolean array[] )
  writeColorArray ! ( in String block, in Color array[] )
  writeFloat32Array ! ( in String block, in Float32 array[] )
  writeMat33Array ! ( in String block, in Mat33 array[] )
  writeMat44Array ! ( in String block, in Mat44 array[] )
  writeQuatArray ! ( in String block, in Quat array[] )
  writeSInt32Array ! ( in String block, in SInt32 array[] )
  writeUInt32Array ! ( in String block, in UInt32 array[] )
  writeVec2Array ! ( in String block, in Vec2 array[] )
  writeVec3Array ! ( in String block, in Vec3 array[] )
  writeVec4Array ! ( in String block, in Vec4 array[] )
  writeXfoArray ! ( in String block, in Xfo array[] )

Methods in detail

BinaryBlockIO ( in BinaryBlockIO other )

copy constructor


BinaryBlockIO ( in String filePath )

standard constructor given a filePath


BinaryBlockIO ()

standard constructor


BinaryBlockIO BinaryBlockIO.clone? ()

clone method


BinaryBlockIO.close! ()

closes all readers / writes


Boolean[] BinaryBlockIO.readBooleanArray! ( in String block )

reads an array of Boolean


Color[] BinaryBlockIO.readColorArray! ( in String block )

reads an array of Color


Float32[] BinaryBlockIO.readFloat32Array! ( in String block )

reads an array of Float32


Mat33[] BinaryBlockIO.readMat33Array! ( in String block )

reads an array of Mat33


Mat44[] BinaryBlockIO.readMat44Array! ( in String block )

reads an array of Mat44


Quat[] BinaryBlockIO.readQuatArray! ( in String block )

reads an array of Quat


SInt32[] BinaryBlockIO.readSInt32Array! ( in String block )

reads an array of SInt32


UInt32[] BinaryBlockIO.readUInt32Array! ( in String block )

reads an array of UInt32


Vec2[] BinaryBlockIO.readVec2Array! ( in String block )

reads an array of Vec2


Vec3[] BinaryBlockIO.readVec3Array! ( in String block )

reads an array of Vec3


Vec4[] BinaryBlockIO.readVec4Array! ( in String block )

reads an array of Vec4


Xfo[] BinaryBlockIO.readXfoArray! ( in String block )

reads an array of Xfo


BinaryBlockIO.setFilePath! ( in String filePath )


BinaryBlockIO.setMode! ( in SInt32 mode )

sets the mode of this block BinaryBlockIO


BinaryBlockIO.writeBooleanArray! ( in String block, in Boolean array[] )

reads an array of Boolean


BinaryBlockIO.writeColorArray! ( in String block, in Color array[] )

reads an array of Color


BinaryBlockIO.writeFloat32Array! ( in String block, in Float32 array[] )

reads an array of Float32


BinaryBlockIO.writeMat33Array! ( in String block, in Mat33 array[] )

reads an array of Mat33


BinaryBlockIO.writeMat44Array! ( in String block, in Mat44 array[] )

reads an array of Mat44


BinaryBlockIO.writeQuatArray! ( in String block, in Quat array[] )

reads an array of Quat


BinaryBlockIO.writeSInt32Array! ( in String block, in SInt32 array[] )

reads an array of SInt32


BinaryBlockIO.writeUInt32Array! ( in String block, in UInt32 array[] )

reads an array of UInt32


BinaryBlockIO.writeVec2Array! ( in String block, in Vec2 array[] )

reads an array of Vec2


BinaryBlockIO.writeVec3Array! ( in String block, in Vec3 array[] )

reads an array of Vec3


BinaryBlockIO.writeVec4Array! ( in String block, in Vec4 array[] )

reads an array of Vec4


BinaryBlockIO.writeXfoArray! ( in String block, in Xfo array[] )

reads an array of Xfo