本文整理汇总了Java中org.jaudiotagger.audio.generic.Utils.getSizeBEInt32方法的典型用法代码示例。如果您正苦于以下问题:Java Utils.getSizeBEInt32方法的具体用法?Java Utils.getSizeBEInt32怎么用?Java Utils.getSizeBEInt32使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.jaudiotagger.audio.generic.Utils
的用法示例。
在下文中一共展示了Utils.getSizeBEInt32方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setLength
import org.jaudiotagger.audio.generic.Utils; //导入方法依赖的package包/类
/**
* Set the length.
*
* This will modify the databuffer accordingly
*
* @param length
*/
public void setLength(int length)
{
byte[] headerSize = Utils.getSizeBEInt32(length);
dataBuffer.put(0, headerSize[0]);
dataBuffer.put(1, headerSize[1]);
dataBuffer.put(2, headerSize[2]);
dataBuffer.put(3, headerSize[3]);
this.length = length;
}
示例2: setId
import org.jaudiotagger.audio.generic.Utils; //导入方法依赖的package包/类
/**
* Set the Id.
*
* Allows you to manully create a header
* This will modify the databuffer accordingly
*
* @param length
*/
public void setId(int length)
{
byte[] headerSize = Utils.getSizeBEInt32(length);
dataBuffer.put(5, headerSize[0]);
dataBuffer.put(6, headerSize[1]);
dataBuffer.put(7, headerSize[2]);
dataBuffer.put(8, headerSize[3]);
this.length = length;
}
示例3: setId
import org.jaudiotagger.audio.generic.Utils; //导入方法依赖的package包/类
/**
* Set the Id.
* <p/>
* Allows you to manully create a header
* This will modify the databuffer accordingly
*
* @param length
*/
public void setId(int length) {
byte[] headerSize = Utils.getSizeBEInt32(length);
dataBuffer.put(5, headerSize[0]);
dataBuffer.put(6, headerSize[1]);
dataBuffer.put(7, headerSize[2]);
dataBuffer.put(8, headerSize[3]);
this.length = length;
}
示例4: setLength
import org.jaudiotagger.audio.generic.Utils; //导入方法依赖的package包/类
/**
* Set the length.
* <p/>
* This will modify the databuffer accordingly
*
* @param length
*/
public void setLength(int length) {
byte[] headerSize = Utils.getSizeBEInt32(length);
dataBuffer.put(0, headerSize[0]);
dataBuffer.put(1, headerSize[1]);
dataBuffer.put(2, headerSize[2]);
dataBuffer.put(3, headerSize[3]);
this.length = length;
}