public int getSample(RandomAccessInputStream bb, CodecOptions options) throws FormatException { try { return ((ome.codecs.HuffmanCodec) this.codec).getSample(bb, getOptions(options)); } catch(ome.codecs.CodecException e) { throw WrappedCodec.unwrapCodecException(e); } } }
HuffmanCodec huffmanCodec = new HuffmanCodec(); int diff = huffmanCodec.getSample(in, huffman);
HuffmanCodec huffmanCodec = new HuffmanCodec(); int diff = huffmanCodec.getSample(in, huffman);
public int getSample(RandomAccessInputStream bb, CodecOptions options) throws FormatException { try { return ((ome.codecs.HuffmanCodec) this.codec).getSample(bb, getOptions(options)); } catch(ome.codecs.CodecException e) { throw WrappedCodec.unwrapCodecException(e); } } }
@Deprecated public int getSample(BitBuffer bb, CodecOptions options) throws FormatException { try { return ((ome.codecs.HuffmanCodec) this.codec).getSample(bb.getWrapped(), getOptions(options)); } catch(ome.codecs.CodecException e) { throw WrappedCodec.unwrapCodecException(e); } }
@Deprecated public int getSample(BitBuffer bb, CodecOptions options) throws FormatException { try { return ((ome.codecs.HuffmanCodec) this.codec).getSample(bb.getWrapped(), getOptions(options)); } catch(ome.codecs.CodecException e) { throw WrappedCodec.unwrapCodecException(e); } }