I want to translate this to Java :
binary.BigEndian.PutUint32(tsBytes, uint32(timestamp))
Can somebody help ?