| 842 | } |
| 843 | |
| 844 | static int Stream_len(lua_State* L) |
| 845 | { |
| 846 | DM_LUA_STACK_CHECK(L, 1); |
| 847 | BufferStream* stream = CheckStream(L, 1); |
| 848 | lua_pushnumber(L, stream->m_Count * stream->m_TypeCount); |
| 849 | return 1; |
| 850 | } |
| 851 | |
| 852 | static int Stream_index(lua_State* L) |
| 853 | { |
nothing calls this directly
no test coverage detected