Parse a chunk