chickadee » byte-sequence » byte-sequence-split-at

byte-sequence-split-at BYTE-SEQUENCE Nprocedure

Returns two values, the prefix of the given byte-sequence of length N and the remainder, as byte-sequences. If N is greater than the length of the byte-sequence, the prefix is the entire byte-sequence and the remainder is empty.