Minor fix () is the empty list/sequence, not the empty byte array - replaced with 0 where appropriate.