New methods: writeLong and readLong

New methods to write/read 32 bit long values addes.