Byte communication working fully between java and c#