forked from I2P_Developers/i2p.i2p
Cleanup: Don't use DataHelper.writeLong() for a single byte
This commit is contained in:
@@ -430,7 +430,7 @@ public class DeliveryInstructions extends DataStructureImpl {
|
||||
// _log.debug("Write flags: " + flags + " mode: " + getDeliveryMode()
|
||||
// + " =?= " + flagMode(flags));
|
||||
byte additionalInfo[] = getAdditionalInfo();
|
||||
DataHelper.writeLong(out, 1, flags);
|
||||
out.write((byte) flags);
|
||||
if (additionalInfo != null) {
|
||||
out.write(additionalInfo);
|
||||
out.flush();
|
||||
|
||||
Reference in New Issue
Block a user