public byte[] createHeader(final String type, final int messageLength,
final int errorLength, final long byteStringLength,
final int intInfo) throws JargonException {
return createHeaderBytesFromData(type, messageLength, errorLength,
byteStringLength, intInfo, this.getEncoding());
<BUG>}
public static byte[] createHeaderBytesFromData(final String type,</BUG>
final int messageLength, final int errorLength,
final long byteStringLength, final int intInfo,
final String encoding) throws JargonException {

public byte[] createHeader(final String type, final int messageLength,
final int errorLength, final long byteStringLength,
final int intInfo) throws JargonException {
return createHeaderBytesFromData(type, messageLength, errorLength,
byteStringLength, intInfo, this.getEncoding());
}
public abstract void sendHeader(final String type, final int messageLength,
final int errorLength, final long byteStringLength,
final int intInfo) throws JargonException, IOException;
public static byte[] createHeaderBytesFromData(final String type,
final int messageLength, final int errorLength,
final long byteStringLength, final int intInfo,
final String encoding) throws JargonException {
