chickadee » byte-sequence » byte-sequence-take

byte-sequence-take BYTE-SEQUENCE Nprocedure

Returns the prefix of the given byte-sequence of length N, or the entire byte-sequence if N is greater than its length.