コード例 #1
0
        private static object EachByteImpl(BlockParam/*!*/ block, MutableString/*!*/ self) {
            foreach (byte b in self.GetBytes()) {
                object result;
                if (block.Yield(ScriptingRuntimeHelpers.Int32ToObject((int)b), out result)) {
                    return result;
                }
            }

            return self;
        }