Package com.itstherules.io

Examples of com.itstherules.io.FileReader


    extraData = null;
  }
 
  public FlvHeader(IOHelper ioh) {
    this.ioh = ioh;
    FileReader fh = ioh.getFileReader();
    fh.setDebug(ioh.isDebug());
    signature = fh.readString(3);
    version = fh.readUint(1);
    int typeFlags = fh.readUint(1);
    containsAudio = (typeFlags & 4) == 1;
    containsVideo = (typeFlags & 1) == 1;
    dataOffset = fh.readUint(4);
    if (dataOffset - 9 > 0) extraData = fh.readString(dataOffset - 9);
    else extraData = "";
  }
View Full Code Here

TOP

Related Classes of com.itstherules.io.FileReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.